1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 12:30:58 -04:00

forgor this existed

This commit is contained in:
Toast 2023-03-14 09:28:49 +11:00 committed by GitHub
parent 4cdbf1983d
commit 397f8f3ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;