Add chars to regex
This commit is contained in:
parent
1e5a1f7c20
commit
b4d9b737f9
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…
x
Reference in New Issue
Block a user