From 284343f15659d94c9f56788e58700161835f2800 Mon Sep 17 00:00:00 2001 From: JandereDev Date: Wed, 2 Mar 2022 16:22:20 +0100 Subject: [PATCH] fuck me --- bot/src/bot/modules/command_handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/src/bot/modules/command_handler.ts b/bot/src/bot/modules/command_handler.ts index b5d967a..2d15367 100644 --- a/bot/src/bot/modules/command_handler.ts +++ b/bot/src/bot/modules/command_handler.ts @@ -43,6 +43,7 @@ let commands: Command[]; !msg.channel?.server) return; if (!msg.member) await msg.channel.server.fetchMember(msg.author_id); + if (msg.author?.bot) return; // If we can't reply to the message, return if (!hasPermForChannel(await getOwnMemberInServer(msg.channel.server), msg.channel, 'SendMessage')) {