aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev')
-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() });
}