1
0
Fork 0

modlogs cmd fix

refactor/models
Matthew 2019-10-27 23:51:26 -04:00
parent d6f274d4a7
commit 2ec2c95d9c
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ export default class Modlogs extends Command {
}
const value = `**Account name:** ${username}\n**Moderator:** <@${moderatorID}>\n**Reason:** ${reason}\n**Date:** ${date.toLocaleString('en-us')} EST`;
const inline = true;
this.client.signale.debug(name);
return { name, value, inline };
});
const users = [...new Set(query.map((log) => log.userID))].map((u) => `<@${u}>`);