Browse Source

Fix missing parenthesis

master
Abheek Dhawan 4 years ago
parent
commit
6d52dfc823
  1. 2
      index.js

2
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') {

Loading…
Cancel
Save