From 6d52dfc8232ba4716b9e27e76ffadd745b907baf Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Wed, 31 Mar 2021 20:58:06 -0500 Subject: [PATCH] Fix missing parenthesis --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {