diff options
| author | 8cy <[email protected]> | 2020-07-16 21:37:42 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-07-16 21:37:42 -0700 |
| commit | 4eaa87739d3660bf47cd4600baca140b6a36af87 (patch) | |
| tree | f7832104d73a26ca05335eea522607764d41ae4e /src/commands | |
| parent | add more perms (diff) | |
| download | dep-core-4eaa87739d3660bf47cd4600baca140b6a36af87.tar.xz dep-core-4eaa87739d3660bf47cd4600baca140b6a36af87.zip | |
perms, aliases, ugycat
Diffstat (limited to 'src/commands')
| -rw-r--r-- | src/commands/fun/say.ts | 1 | ||||
| -rw-r--r-- | src/commands/fun/uglycat.ts | 1 | ||||
| -rw-r--r-- | src/commands/server/poll.ts | 1 |
3 files changed, 3 insertions, 0 deletions
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 })) } |