|
|
|
@ -128,7 +128,7 @@ function checkMessage(message) {
|
|
|
|
|
//console.log("Corrected Message: " + correctedMessage);
|
|
|
|
|
if (abbreviationKey.target_phrases[matchMessageArray[i]] !== undefined) {
|
|
|
|
|
console.log("Has role? " + message.member.roles.cache.some(role => role.name == "Exempt from NoMoreAcronyms"));
|
|
|
|
|
if (message.member.roles.cache.has("1092093109954941078")) {
|
|
|
|
|
if (message.member.roles.cache.some(role => role.name == "Exempt from NoMoreAcronyms")) {
|
|
|
|
|
message.react('🇵');
|
|
|
|
|
message.react('🇴');
|
|
|
|
|
message.react('🇬');
|
|
|
|
|