Can't delete message in DMs

This commit is contained in:
Skylar Grant 2022-12-16 21:20:46 -05:00
parent d15ccf6a5b
commit ae95349b9b

View File

@ -10,8 +10,6 @@ module.exports = {
// message.reply(fn.spongebob(commandData)).then(() => { // message.reply(fn.spongebob(commandData)).then(() => {
// message.delete(); // message.delete();
// }); // });
message.channel.send(fn.spongebob(commandData)).then(() => { message.channel.send(fn.spongebob(commandData));
message.delete();
});
} }
} }