Added checkInsult()
This commit is contained in:
parent
95e6350f63
commit
a6ded6dba3
13
main.ts
13
main.ts
@ -176,11 +176,12 @@ function checkMessage(message) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
function checkInsult(message) {
|
function checkInsult(message) {
|
||||||
if (message.content.includes("bot", "annoying") || message.content.includes("bad")) {
|
if (!message.member.roles.cache.some(role => role.name == "Exempt from NoMoreAcronyms")) {
|
||||||
message.react('🇳');
|
if (message.content.includes("bot", "annoying")) {
|
||||||
message.react('🇴');
|
message.react('🇳');
|
||||||
message.react('❌');
|
message.react('🇴');
|
||||||
message.react('🇺');
|
message.react('❌');
|
||||||
|
message.react('🇺');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user