diff --git a/index.js b/index.js index 4e4f3e9..af8121a 100644 --- a/index.js +++ b/index.js @@ -128,7 +128,7 @@ async function roleRequest(message) { message.reply("not a valid role!"); return; } - if (role === "reader" && message.member.hasRole(readerRole)) { + if (role === "reader" && message.member.roles.cache.has(readerRole)) { message.reply("you already have that role!"); return; }