diff --git a/index.js b/index.js index f168316..d4a03c7 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ async function roleRequest(message) { message.awaitReactions(filter, { max: 1, time: 600000000, errors: ['time'] }) .then(userReaction => { const reaction = userReaction.first(); - if (reaction.emoji === '👍') { + if (reaction.emoji.name === '👍') { message.reply("wow I guess you ARE worthy! ||mods must be real mistaken||"); if (role === 'reader') { message.member.roles.add(readerRole).catch(console.error);