logging change
This commit is contained in:
parent
db3c7d4e3a
commit
435ec0dd1a
@ -159,7 +159,7 @@ class MessageCache extends Observer {
|
|||||||
|
|
||||||
const afterTime = Date.now();
|
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({
|
await this.client.transactionHandler.send({
|
||||||
provider: 'mongodb',
|
provider: 'mongodb',
|
||||||
request: {
|
request: {
|
||||||
|
Loading…
Reference in New Issue
Block a user