From 97f1bbf195afed4dfaf913e8c00f1d9a77db564a Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 21:08:12 -0500 Subject: [PATCH] Fix formatting --- index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index aa3adc2..1e82b15 100644 --- a/index.js +++ b/index.js @@ -302,7 +302,8 @@ async function roleRequest(message) { return; } - const verificationMessage = message.channel.send(`<@${message.author.id}> would like the **${role}** role. Are they worthy?`).then(message => { + const verificationMessage = message.channel.send(`<@${message.author.id}> would like the **${role}** role. Are they worthy?`) + .then(message => { message.react('👍'); message.react('👎'); const filter = (reaction, user) => { @@ -318,8 +319,8 @@ async function roleRequest(message) { message.reply("I guess you won't be getting that role!"); } }).catch(verificationMessage => { verificationMessage.edit("TIMEOUT") }); - }); }).catch(console.error); + }); } async function bulkDelete(message) {