Added additional role to check
This commit is contained in:
parent
9c64b37a56
commit
dc283d9497
2
main.ts
2
main.ts
@ -178,6 +178,7 @@ function checkMessage(message) {
|
||||
|
||||
}
|
||||
function checkInsult(message) {
|
||||
if (!message.author.bot) {
|
||||
if (!message.member.roles.cache.some(role => role.name == "Exempt from NoMoreAcronyms")) {
|
||||
if (message.content.includes("bot", "annoying")) {
|
||||
message.react('🇳');
|
||||
@ -187,3 +188,4 @@ function checkInsult(message) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user