aboutsummaryrefslogtreecommitdiff
path: root/lib/automod/MemberAutomod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/automod/MemberAutomod.ts')
-rw-r--r--lib/automod/MemberAutomod.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/automod/MemberAutomod.ts b/lib/automod/MemberAutomod.ts
index 6f71457..64ee3c1 100644
--- a/lib/automod/MemberAutomod.ts
+++ b/lib/automod/MemberAutomod.ts
@@ -16,6 +16,7 @@ export class MemberAutomod extends Automod {
protected async handle(): Promise<void> {
if (this.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')) ?? [];