forked from engineering/cloudservices
modlogs cmd fix
parent
d6f274d4a7
commit
2ec2c95d9c
|
@ -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 value = `**Account name:** ${username}\n**Moderator:** <@${moderatorID}>\n**Reason:** ${reason}\n**Date:** ${date.toLocaleString('en-us')} EST`;
|
||||||
const inline = true;
|
const inline = true;
|
||||||
|
this.client.signale.debug(name);
|
||||||
return { name, value, inline };
|
return { name, value, inline };
|
||||||
});
|
});
|
||||||
const users = [...new Set(query.map((log) => log.userID))].map((u) => `<@${u}>`);
|
const users = [...new Set(query.map((log) => log.userID))].map((u) => `<@${u}>`);
|
||||||
|
|
Loading…
Reference in New Issue