Add chars to regex
This commit is contained in:
parent
e474e8758b
commit
d45e12c902
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;
|
||||
|
Loading…
Reference in New Issue
Block a user