aboutsummaryrefslogtreecommitdiff
path: root/lib/automod/MessageAutomod.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-22 08:12:56 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-22 08:12:56 -0400
commit8ecea8349a872988bd0025e57c343242d3ba7d13 (patch)
tree0a8965b6cd18675835158bd40ae2de4e493599dc /lib/automod/MessageAutomod.ts
parent8226fb0aefd79dff1a353678e0ac6c85a952a0f5 (diff)
downloadtanzanite-8ecea8349a872988bd0025e57c343242d3ba7d13.tar.gz
tanzanite-8ecea8349a872988bd0025e57c343242d3ba7d13.tar.bz2
tanzanite-8ecea8349a872988bd0025e57c343242d3ba7d13.zip
add immune checks to member and presence automod
Diffstat (limited to 'lib/automod/MessageAutomod.ts')
-rw-r--r--lib/automod/MessageAutomod.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/automod/MessageAutomod.ts b/lib/automod/MessageAutomod.ts
index 9673adf..0abd34c 100644
--- a/lib/automod/MessageAutomod.ts
+++ b/lib/automod/MessageAutomod.ts
@@ -18,6 +18,7 @@ export class MessageAutomod extends Automod {
super(message.member);
if (message.author.id === message.client.user?.id) return;
+
void this.handle();
}