From c24dfae07747c71e1c1806b12bf0f0bcd3dd60dd Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 1 Jan 2022 12:14:07 -0500 Subject: ffs --- src/lib/common/AutoMod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/common/AutoMod.ts b/src/lib/common/AutoMod.ts index d7da532..6e2881c 100644 --- a/src/lib/common/AutoMod.ts +++ b/src/lib/common/AutoMod.ts @@ -109,7 +109,7 @@ export class AutoMod { */ private async checkScamMentions() { const includes = this.message.content.toLocaleLowerCase().includes; - if (!includes('@everyone' || !includes('@here'))) return; + if (!includes('@everyone') && !includes('@here')) return; // It would be bad if we deleted a message that actually pinged @everyone or @here if (this.message.member?.permissionsIn(this.message.channelId).has('MENTION_EVERYONE') || this.message.mentions.everyone) return; -- cgit