From be84089fb3e895b1f3c230d1785fce6a2705bf05 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Tue, 14 Mar 2023 09:28:49 +1100 Subject: [PATCH] forgor this existed --- src/events/messageCreate.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/events/messageCreate.ts b/src/events/messageCreate.ts index a695bad..31611ab 100644 --- a/src/events/messageCreate.ts +++ b/src/events/messageCreate.ts @@ -3,7 +3,6 @@ import TClient from '../client'; export default { async run(client:TClient, message:Discord.Message){ if (message.author.bot || message.channel.type === ChannelType.DM) return; - //const msgarr = message.content.toLowerCase().replaceAll('\n', ' ').split(' '); const msgarr = message.content.toLowerCase().replaceAll(/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?\n]/g, ' ').split(' '); let automodded: boolean;