diff --git a/bot/src/bot/modules/antispam.ts b/bot/src/bot/modules/antispam.ts index ffd940e..aaaf0ec 100644 --- a/bot/src/bot/modules/antispam.ts +++ b/bot/src/bot/modules/antispam.ts @@ -120,6 +120,8 @@ async function wordFilterCheck(message: Message, config: ServerConfig) { const match = checkMessageForFilteredWords(message.content, config); if (!match) return; + if (await isModerator(message, false)) return; + console.log('Message matched word filter!'); // Lack of `break` is intended here