From 855aa36c46e250fd3063eb200d784903a8c388d3 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 1 Sep 2021 21:03:38 -0400 Subject: performance improvements & fixes --- src/listeners/message/automodCreate.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/listeners') 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; -- cgit