Add chars to regex

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-02 21:53:18 -05:00
parent e474e8758b
commit d45e12c902

View File

@ -119,7 +119,7 @@ function checkMessage(message) {
return;
}
var matchMessageArray = message.content.toLowerCase().split(/[ ,!@#$%^&*().;:|]+/);
var matchMessageArray = message.content.toLowerCase().split(/[ ,!?\"@#$%^&*().;:|]+/);
console.log(matchMessageArray);
let correctedMessage = message.content;