Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-09 22:51:08 -05:00
commit 12aadf6527

View File

@ -152,9 +152,11 @@ global.checkMessage = function checkMessage(message, runFromGlobal) {
if (abbreviationKey.target_phrases[matchMessageArray[i]] !== undefined) {
checkIfGirlfriend(message);
if (!runFromGlobal) {
if (checkIfExempt(message)) {
return;
}
}
matchDetected = true;
abbrsUsed++;
//Return key