From 4eaa87739d3660bf47cd4600baca140b6a36af87 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 16 Jul 2020 21:37:42 -0700 Subject: perms, aliases, ugycat --- src/commands/fun/say.ts | 1 + src/commands/fun/uglycat.ts | 1 + src/commands/server/poll.ts | 1 + 3 files changed, 3 insertions(+) (limited to 'src/commands') diff --git a/src/commands/fun/say.ts b/src/commands/fun/say.ts index 985307a..7a610b4 100644 --- a/src/commands/fun/say.ts +++ b/src/commands/fun/say.ts @@ -38,6 +38,7 @@ module.exports = class SayFun extends Command { return msg.reply(`Insufficent permissions! ${emoji.random()}`).then(m => m.delete({ timeout: 3000 })) } } else { + msg.delete() //@ts-ignore return msg.reply(`Insufficent permissions! ${emoji.random()}`).then(m => m.delete({ timeout: 3000 })) } diff --git a/src/commands/fun/uglycat.ts b/src/commands/fun/uglycat.ts index 27a31fb..343bc2d 100644 --- a/src/commands/fun/uglycat.ts +++ b/src/commands/fun/uglycat.ts @@ -4,6 +4,7 @@ module.exports = class UglyCatFun extends Command { constructor(client: CommandoClient) { super(client, { name: 'uglycat', + aliases: ['ugycat'], group: 'fun', memberName: 'uglycat', description: 'Sends an ugly cat.', diff --git a/src/commands/server/poll.ts b/src/commands/server/poll.ts index 7f7d3b0..8eafcb9 100644 --- a/src/commands/server/poll.ts +++ b/src/commands/server/poll.ts @@ -45,6 +45,7 @@ module.exports = class PollServer extends Command { }) } } else { + msg.delete() //@ts-ignore return msg.reply(`Insufficent permissions! ${emoji.random()}`).then(m => m.delete({ timeout: 3000 })) } -- cgit v1.2.3