diff --git a/bot/src/bot/modules/command_handler.ts b/bot/src/bot/modules/command_handler.ts index 3533260..352ca3e 100644 --- a/bot/src/bot/modules/command_handler.ts +++ b/bot/src/bot/modules/command_handler.ts @@ -37,6 +37,8 @@ let commands: SimpleCommand[]; client.on('messageCreate', async msg => { logger.debug(`Message -> ${msg.content}`); + if (msg.systemMessage !== undefined) return; + if (typeof msg.content != 'string' || msg.authorId == client.user?.id || !msg.channel?.server) return;