Add chars to regex
This commit is contained in:
2
main.ts
2
main.ts
@@ -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;
|
||||
|
Reference in New Issue
Block a user