diff --git a/index.js b/index.js index b66fd91..6e8b867 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ async function roleRequest(message) { verificationMessage.awaitReactions(filter, { max: 1, time: 600000000, errors: ['time'] }) .then(userReaction => { const reaction = userReaction.first(); - if (reaction.emoji === '👍' { + if (reaction.emoji === '👍') { if (role === 'reader') { message.member.roles.add(readerRole).catch(console.error); } else if (role === 'writer') {