aboutsummaryrefslogtreecommitdiff
path: root/lib/automod/PresenceAutomod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/automod/PresenceAutomod.ts')
-rw-r--r--lib/automod/PresenceAutomod.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/automod/PresenceAutomod.ts b/lib/automod/PresenceAutomod.ts
index b2e879d..1378252 100644
--- a/lib/automod/PresenceAutomod.ts
+++ b/lib/automod/PresenceAutomod.ts
@@ -16,6 +16,7 @@ export class PresenceAutomod extends Automod {
protected async handle(): Promise<void> {
if (this.presence.member!.user.bot) return;
+ if (this.isImmune) return;
const badWordsRaw = Object.values(this.client.utils.getShared('badWords')).flat();
const customAutomodPhrases = (await this.guild.getSetting('autoModPhases')) ?? [];