Add more chars to regex

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-03-31 21:50:42 -05:00
parent e3b1b81565
commit 849e961d91

View File

@ -101,7 +101,7 @@ client.on('messageCreate', message => {
if (message.author.bot) {
return;
}
var matchMessageArray = message.content.toLowerCase().split(/[ ,!@#$%^&*().;:|\\\]\[\{\}]]+/);
var matchMessageArray = message.content.toLowerCase().split(/[ ,!@#$%^&*().;:|]+/);
console.log(matchMessageArray);
let correctedMessage = message.content;