Implement OCR

master
Chloe Fontenot 🏳️‍⚧️ 2024-08-09 23:10:31 +07:00
parent d7ac92dea4
commit f58c7e3668
1 changed files with 1 additions and 1 deletions

@ -224,7 +224,7 @@ function getMatchingPhrase(inputString, targetCharacter) {
checkLoop(message, checkString); 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. 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.