|
@ -302,7 +302,7 @@ async function roleRequest(message) { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const verificationMessage = message.channel.send(`<@${message.author.id}> would like the **${role}** role. Are they worthy?`); |
|
|
const verificationMessage = message.channel.send(`<@${message.author.id}> would like the **${role}** role. Are they worthy?`).then(message => { |
|
|
message.react('👍'); |
|
|
message.react('👍'); |
|
|
message.react('👎'); |
|
|
message.react('👎'); |
|
|
const filter = (reaction, user) => { |
|
|
const filter = (reaction, user) => { |
|
@ -319,6 +319,7 @@ async function roleRequest(message) { |
|
|
} |
|
|
} |
|
|
}).catch(verificationMessage => { verificationMessage.edit("TIMEOUT") }); |
|
|
}).catch(verificationMessage => { verificationMessage.edit("TIMEOUT") }); |
|
|
}); |
|
|
}); |
|
|
|
|
|
}).catch(console.error); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
async function bulkDelete(message) { |
|
|
async function bulkDelete(message) { |
|
|