From de75ac274548f281e9c2d801c552163b266ad9b8 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Wed, 17 Jan 2024 03:23:59 +1100 Subject: [PATCH] Uppercase the prefix to match others --- src/components/Automod.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Automod.ts b/src/components/Automod.ts index b5162c8..2bcc5cf 100644 --- a/src/components/Automod.ts +++ b/src/components/Automod.ts @@ -17,11 +17,11 @@ export default class Automoderator { // If the count has reached the threshold amount, punish the user like most daddy would do to their child. if (!this.lockQuery.has(message.author.id)) { this.lockQuery.add(message.author.id); - Logger.console('log', 'Automod', `Lock acquired for ${message.author.tag} with reason: ${reason}`); + Logger.console('log', 'AUTOMOD', `Lock acquired for ${message.author.tag} with reason: ${reason}`); await client.punishments.punishmentAdd('mute', {time: duration}, client.user.id, `AUTOMOD:${reason}`, message.author, message.member as Discord.GuildMember); setTimeout(()=>{ this.lockQuery.delete(message.author.id); - Logger.console('log', 'Automod', `Lock released for ${message.author.tag}`); + Logger.console('log', 'AUTOMOD', `Lock released for ${message.author.tag}`); }, 3500); // Wait 3.5 seconds before releasing the lock. } delete client.repeatedMessages[message.author.id];