logging change

This commit is contained in:
nolan 2020-07-25 01:32:26 -07:00
parent db3c7d4e3a
commit 435ec0dd1a
11 changed files with 1 additions and 1 deletions

View File

@ -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: {