command logs because fuck monox

This commit is contained in:
ry 2020-01-06 14:55:04 +01:00
parent 4b578c8af9
commit 02c51912b0
3 changed files with 8 additions and 2 deletions

View file

@ -110,7 +110,9 @@ module.exports = {
timestamps.set(msg.author.id, now);
setTimeout(() => timestamps.delete(msg.author.id), cooldownAmount);
cmd.command(ctx).then(() => {}).catch((err) => {
cmd.command(ctx).then(() => {
ctx.client.channels.find(c => c.id === vars.logs.usage).send(`${ctx.utils.format.bold(ctx.author.tag)} (${ctx.utils.format.code(ctx.author.id)}) used ${ctx.utils.format.code(cmd.name)} in ${ctx.utils.format.bold(ctx.guild.name)} (${ctx.utils.format.code(ctx.guild.id)}) `).catch(e => console.log(e))
}).catch((err) => {
if (!cmd.name.includes('e926') || !cmd.name.includes('e621')) {
trello
.addCard(