aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-30 20:49:01 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-30 20:49:01 -0400
commitc6c0a3ed6bc6fb6723c47fd013534bf1146dc856 (patch)
treef9cd571864649a69f109d839af16d461b976e86f /src/commands
parent66173b72b2d5d33a15f667acb4cafbd03ae752a0 (diff)
downloadtanzanite-c6c0a3ed6bc6fb6723c47fd013534bf1146dc856.tar.gz
tanzanite-c6c0a3ed6bc6fb6723c47fd013534bf1146dc856.tar.bz2
tanzanite-c6c0a3ed6bc6fb6723c47fd013534bf1146dc856.zip
remove debug stuff and remove message.deleteable because its broken
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/dev/say.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/dev/say.ts b/src/commands/dev/say.ts
index 5042be4..0776f1b 100644
--- a/src/commands/dev/say.ts
+++ b/src/commands/dev/say.ts
@@ -30,9 +30,7 @@ export default class SayCommand extends BushCommand {
if (!message.author.isOwner())
return await message.util.reply(`${util.emojis.error} Only my developers can run this command.`);
- if (message.deletable) {
- await message.delete();
- }
+ await message.delete().catch(() => {});
await message.util.send({ content: say, allowedMentions: AllowedMentions.none() });
}