command logs because fuck monox
This commit is contained in:
parent
4b578c8af9
commit
02c51912b0
|
@ -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(
|
||||
|
|
|
@ -16,7 +16,8 @@ module.exports = class Blacklist extends Command {
|
|||
console.log(ctx.args)
|
||||
let ACTION = ctx.args[0]
|
||||
let ID = ctx.args[1]
|
||||
let REASON = ctx.args[2]
|
||||
let REASON = ctx.args.shift().shift().join(' ')
|
||||
// let REASON = ctx.args[2]
|
||||
|
||||
let X = await ctx.utils.db.blacklist(ID, ACTION, REASON)
|
||||
console.log(X)
|
||||
|
|
Loading…
Reference in New Issue