diff --git a/main.ts b/main.ts index 5ea0872..6af1c65 100644 --- a/main.ts +++ b/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;