gosh darnit Caleb it's 'includes()' not 'contains()'

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-13 23:12:40 -05:00
parent 84f2a93202
commit 5e8f31de8b

View File

@ -222,7 +222,7 @@ function checkIfGirlfriend(message) {
}
function checkIfExempt(message) {
console.log("Has role? " + message.member.roles.cache.some(role => role.name == "Exempt from NoMoreAcronyms"));
if (message.content.contains("http", "https")) {
if (message.content.includes("http", "https")) {
message.react('🌐');
message.react('🔗');
return true;