From ae95349b9b2b2846be5ef7a1a4dd506f077fdfb8 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 16 Dec 2022 21:20:46 -0500 Subject: [PATCH] Can't delete message in DMs --- dot-commands/spongebob.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dot-commands/spongebob.js b/dot-commands/spongebob.js index b3ba9a1..0f0c653 100644 --- a/dot-commands/spongebob.js +++ b/dot-commands/spongebob.js @@ -10,8 +10,6 @@ module.exports = { // message.reply(fn.spongebob(commandData)).then(() => { // message.delete(); // }); - message.channel.send(fn.spongebob(commandData)).then(() => { - message.delete(); - }); + message.channel.send(fn.spongebob(commandData)); } } \ No newline at end of file