From f901552f80e07c1c036088526dae7e82d573eba4 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Fri, 9 Aug 2024 23:20:57 -0500 Subject: [PATCH] Implement OCR --- main.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cjs b/main.cjs index 5651e93..2aebb5e 100644 --- a/main.cjs +++ b/main.cjs @@ -223,8 +223,8 @@ function getMatchingPhrase(inputString, targetCharacter) { checkString = checkString.replace(/[^a-zA-Z0-9]/g, ''); checkLoop(message, checkString); })(); - }); } + }); } /* Main bot logic. Check for abbreviations by splitting the message at any non-word characters, then if we find a match, create a new array, replace the abbreviation with the phrase, then call replyMessage() and reply to the original message with the corrected one.