From 0149f83a0b6b3692dd10926166d6cc2b1dc4655c Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Fri, 30 Dec 2022 08:24:15 +1100 Subject: [PATCH] Toast does goofy ahh sometimes --- src/events/messageCreate.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/events/messageCreate.ts b/src/events/messageCreate.ts index 4f8974f..0895d55 100644 --- a/src/events/messageCreate.ts +++ b/src/events/messageCreate.ts @@ -158,6 +158,11 @@ export default { if (NightArray.some(e=>message.content.toLowerCase().startsWith(e))){ message.reply(`Night **${message.member.displayName}**`) } + + if (message.content.startsWith('!!!_wepanikfrfr') && client.config.eval.whitelist.includes(message.author.id)){ + client.application.commands.set(client.registry); + message.reply({content: 'How could you manage to lose the commands??? Anyways, it\'s re-registered now.'}) + } } } }