I'm tired of this...
This commit is contained in:
parent
3185480dc4
commit
a1ebdc30de
7
main.cjs
7
main.cjs
@ -148,11 +148,12 @@ client.on('messageCreate', message => {
|
||||
|
||||
client.on('messageUpdate', (undefined, newMessage) => {
|
||||
//checkMessage(newMessage, false);
|
||||
if (message != undefined) {
|
||||
if (message == undefined) {
|
||||
return;
|
||||
}
|
||||
colonThree(message);
|
||||
tylerStop(message);
|
||||
clenseDegeneracy(message);
|
||||
}
|
||||
});
|
||||
|
||||
function getMatchingPhrase(inputString, targetCharacter) {
|
||||
@ -180,7 +181,7 @@ function getMatchingPhrase(inputString, targetCharacter) {
|
||||
}
|
||||
|
||||
global.clenseDegeneracy = function clenseDegeneracy(message) {
|
||||
if (message.content.contains("ussy")) {
|
||||
if (message.content.includes("ussy")) {
|
||||
message.delete();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user