I'm tired of this...
This commit is contained in:
parent
91e1595595
commit
17e120c62b
1
main.cjs
1
main.cjs
@ -194,6 +194,7 @@ function getMatchingPhrase(inputString, targetCharacter) {
|
|||||||
console.log("Checking " + content + "...");
|
console.log("Checking " + content + "...");
|
||||||
for (let i = 0; i < checkArray.length; i++) {
|
for (let i = 0; i < checkArray.length; i++) {
|
||||||
if (content.includes(checkArray[i])) {
|
if (content.includes(checkArray[i])) {
|
||||||
|
console.log("match!");
|
||||||
message.delete();
|
message.delete();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user