aboutsummaryrefslogtreecommitdiff
path: root/src/listeners
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-01 21:03:38 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-01 21:03:38 -0400
commit855aa36c46e250fd3063eb200d784903a8c388d3 (patch)
treefb883fcfc9addc0a5a23e200d04ae456dd29de1c /src/listeners
parenta2eee77d300723bc1e3e2d75cfda3c1d457b3b8c (diff)
downloadtanzanite-855aa36c46e250fd3063eb200d784903a8c388d3.tar.gz
tanzanite-855aa36c46e250fd3063eb200d784903a8c388d3.tar.bz2
tanzanite-855aa36c46e250fd3063eb200d784903a8c388d3.zip
performance improvements & fixes
Diffstat (limited to 'src/listeners')
-rw-r--r--src/listeners/message/automodCreate.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/listeners/message/automodCreate.ts b/src/listeners/message/automodCreate.ts
index ac05bf9..638e8d5 100644
--- a/src/listeners/message/automodCreate.ts
+++ b/src/listeners/message/automodCreate.ts
@@ -59,7 +59,7 @@ export default class AutomodMessageCreateListener extends BushListener {
void message.delete().catch(() => {});
void message.member?.warn({
moderator: message.guild.me!,
- reason: 'Saying a blacklisted word'
+ reason: '[AutoMod] blacklisted word'
});
break;
@@ -68,7 +68,7 @@ export default class AutomodMessageCreateListener extends BushListener {
void message.delete().catch(() => {});
void message.member?.mute({
moderator: message.guild.me!,
- reason: 'Saying a blacklisted word',
+ reason: '[AutoMod] blacklisted word',
duration: 900_000 // 15 minutes
});
break;
@@ -77,7 +77,7 @@ export default class AutomodMessageCreateListener extends BushListener {
void message.delete().catch(() => {});
void message.member?.mute({
moderator: message.guild.me!,
- reason: 'Saying a blacklisted word',
+ reason: '[AutoMod] blacklisted word',
duration: 0 // perm
});
break;