I'm tired of this...
This commit is contained in:
parent
dfebd007cf
commit
1c74531942
1
main.cjs
1
main.cjs
@ -184,6 +184,7 @@ function getMatchingPhrase(inputString, targetCharacter) {
|
|||||||
let checkString = message.content.toLowerCase();
|
let checkString = message.content.toLowerCase();
|
||||||
let checkArray = ["ussy", "u$sy", "us$y", "u$$y"];
|
let checkArray = ["ussy", "u$sy", "us$y", "u$$y"];
|
||||||
function checkLoop(content) {
|
function checkLoop(content) {
|
||||||
|
console.log("Checking " + content + "...");
|
||||||
for (let i = 0; i < checkArray.length; i++) {
|
for (let i = 0; i < checkArray.length; i++) {
|
||||||
if (message.content.includes(checkArray[i])) {
|
if (message.content.includes(checkArray[i])) {
|
||||||
message.delete();
|
message.delete();
|
||||||
|
Loading…
Reference in New Issue
Block a user