diff options
-rw-r--r-- | src/listeners/message/automodCreate.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/listeners/message/automodCreate.ts b/src/listeners/message/automodCreate.ts index c4cdea1..2584c21 100644 --- a/src/listeners/message/automodCreate.ts +++ b/src/listeners/message/automodCreate.ts @@ -34,6 +34,7 @@ export default class AutomodMessageCreateListener extends BushListener { const cleanWord = word.toLowerCase().replace(/ /g, ''); if (cleanMessageContent.includes(cleanWord)) { + if (cleanWord === 'whore' && !message.content?.toLowerCase().includes(cleanWord)) return; if (!offences[word]) offences[word] = wordMap[word]; } }); |