diff --git a/src/funcs/Automod.ts b/src/funcs/Automod.ts index 39c6ce8..3b3088b 100644 --- a/src/funcs/Automod.ts +++ b/src/funcs/Automod.ts @@ -6,7 +6,7 @@ export default class Automoderator { return arr.includes(message.channelId); } static scanMsg(message:Discord.Message){ - return message.content.toLowerCase().replaceAll(/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?\n?0-9]/g, '').split(' ') + return message.content.toLowerCase().replaceAll(/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?\n?0-9]|ing\b/g, '').split(' ') } static async repeatedMessages(client:TClient, message:Discord.Message, thresholdTime:number, thresholdAmount:number, type:string, muteTime:string, muteReason:string){ if (client.repeatedMessages[message.author.id]){