From 435ec0dd1a23dcef5c70656cbffb98abd3deb661 Mon Sep 17 00:00:00 2001 From: nolan Date: Sat, 25 Jul 2020 01:32:26 -0700 Subject: [PATCH] logging change --- .../{en_us_administrator.txt => en_us_administrator.lang} | 0 .../arguments/{en_us_developer.txt => en_us_developer.lang} | 0 .../arguments/{en_us_moderation.txt => en_us_moderation.lang} | 0 .../en_us/arguments/{en_us_utility.txt => en_us_utility.lang} | 0 .../{en_us_administration.txt => en_us_administration.lang} | 0 .../commands/{en_us_developer.txt => en_us_developer.lang} | 0 .../commands/{en_us_information.txt => en_us_information.lang} | 0 .../{en_us_miscellaneous.txt => en_us_miscellaneous.lang} | 0 .../commands/{en_us_moderation.txt => en_us_moderation.lang} | 0 .../en_us/commands/{en_us_utility.txt => en_us_utility.lang} | 0 structure/client/components/observers/MessageCache.js | 2 +- 11 files changed, 1 insertion(+), 1 deletion(-) rename language/languages/en_us/arguments/{en_us_administrator.txt => en_us_administrator.lang} (100%) rename language/languages/en_us/arguments/{en_us_developer.txt => en_us_developer.lang} (100%) rename language/languages/en_us/arguments/{en_us_moderation.txt => en_us_moderation.lang} (100%) rename language/languages/en_us/arguments/{en_us_utility.txt => en_us_utility.lang} (100%) rename language/languages/en_us/commands/{en_us_administration.txt => en_us_administration.lang} (100%) rename language/languages/en_us/commands/{en_us_developer.txt => en_us_developer.lang} (100%) rename language/languages/en_us/commands/{en_us_information.txt => en_us_information.lang} (100%) rename language/languages/en_us/commands/{en_us_miscellaneous.txt => en_us_miscellaneous.lang} (100%) rename language/languages/en_us/commands/{en_us_moderation.txt => en_us_moderation.lang} (100%) rename language/languages/en_us/commands/{en_us_utility.txt => en_us_utility.lang} (100%) diff --git a/language/languages/en_us/arguments/en_us_administrator.txt b/language/languages/en_us/arguments/en_us_administrator.lang similarity index 100% rename from language/languages/en_us/arguments/en_us_administrator.txt rename to language/languages/en_us/arguments/en_us_administrator.lang diff --git a/language/languages/en_us/arguments/en_us_developer.txt b/language/languages/en_us/arguments/en_us_developer.lang similarity index 100% rename from language/languages/en_us/arguments/en_us_developer.txt rename to language/languages/en_us/arguments/en_us_developer.lang diff --git a/language/languages/en_us/arguments/en_us_moderation.txt b/language/languages/en_us/arguments/en_us_moderation.lang similarity index 100% rename from language/languages/en_us/arguments/en_us_moderation.txt rename to language/languages/en_us/arguments/en_us_moderation.lang diff --git a/language/languages/en_us/arguments/en_us_utility.txt b/language/languages/en_us/arguments/en_us_utility.lang similarity index 100% rename from language/languages/en_us/arguments/en_us_utility.txt rename to language/languages/en_us/arguments/en_us_utility.lang diff --git a/language/languages/en_us/commands/en_us_administration.txt b/language/languages/en_us/commands/en_us_administration.lang similarity index 100% rename from language/languages/en_us/commands/en_us_administration.txt rename to language/languages/en_us/commands/en_us_administration.lang diff --git a/language/languages/en_us/commands/en_us_developer.txt b/language/languages/en_us/commands/en_us_developer.lang similarity index 100% rename from language/languages/en_us/commands/en_us_developer.txt rename to language/languages/en_us/commands/en_us_developer.lang diff --git a/language/languages/en_us/commands/en_us_information.txt b/language/languages/en_us/commands/en_us_information.lang similarity index 100% rename from language/languages/en_us/commands/en_us_information.txt rename to language/languages/en_us/commands/en_us_information.lang diff --git a/language/languages/en_us/commands/en_us_miscellaneous.txt b/language/languages/en_us/commands/en_us_miscellaneous.lang similarity index 100% rename from language/languages/en_us/commands/en_us_miscellaneous.txt rename to language/languages/en_us/commands/en_us_miscellaneous.lang diff --git a/language/languages/en_us/commands/en_us_moderation.txt b/language/languages/en_us/commands/en_us_moderation.lang similarity index 100% rename from language/languages/en_us/commands/en_us_moderation.txt rename to language/languages/en_us/commands/en_us_moderation.lang diff --git a/language/languages/en_us/commands/en_us_utility.txt b/language/languages/en_us/commands/en_us_utility.lang similarity index 100% rename from language/languages/en_us/commands/en_us_utility.txt rename to language/languages/en_us/commands/en_us_utility.lang diff --git a/structure/client/components/observers/MessageCache.js b/structure/client/components/observers/MessageCache.js index 1b26e7a..c511950 100644 --- a/structure/client/components/observers/MessageCache.js +++ b/structure/client/components/observers/MessageCache.js @@ -159,7 +159,7 @@ class MessageCache extends Observer { const afterTime = Date.now(); - this.client.logger.debug(`${chalk.bold('[IMAGE]')} User ${message.author.tag} in guild ${message.guild.name} (#${message.channel.name}) uploaded attachments (${size.toFixed(2)}mb); took ${afterTime-beforeTime}ms to save ${message.attachments.size} attachment${message.attachments.size === 1 ? '' : 's'}.`); + this.client.logger.debug(`${chalk.bold('[IMAGE]')} User ${message.author.tag} in guild ${message.guild.name} (#${message.channel.name}) uploaded ${message.attachments.size} attachment${message.attachments.size === 1 ? '' : 's'} (${size.toFixed(2)}mb); took ${afterTime-beforeTime}ms to save ${message.attachments.size} attachment${message.attachments.size === 1 ? '' : 's'}.`); await this.client.transactionHandler.send({ provider: 'mongodb', request: {