summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/fun/say.ts1
-rw-r--r--src/commands/fun/uglycat.ts1
-rw-r--r--src/commands/server/poll.ts1
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 }))
}