I'm tired of this...
This commit is contained in:
parent
17e120c62b
commit
421ccd6d6c
9
main.cjs
9
main.cjs
@ -196,11 +196,14 @@ function getMatchingPhrase(inputString, targetCharacter) {
|
||||
if (content.includes(checkArray[i])) {
|
||||
console.log("match!");
|
||||
message.delete();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (checkLoop(message, checkString)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
checkLoop(message, checkString);
|
||||
checkString = checkString.replace(/[^a-zA-Z0-9]/g, '');
|
||||
checkLoop(message, checkString);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user