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