diff --git a/commands/random/quiz.js b/commands/random/quiz.js index b957d3f1..a3752a4b 100644 --- a/commands/random/quiz.js +++ b/commands/random/quiz.js @@ -30,7 +30,7 @@ module.exports = class QuizCommand extends commando.Command { const embed = new Discord.RichEmbed() .setTitle('You have **fifteen** seconds to answer this question:') .setDescription(`**Category: ${response.body.category}**\n${response.body.question}`); - await message.channel.sendEmbed(embed).then(() => { + message.channel.sendEmbed(embed).then(() => { message.channel.awaitMessages(res => res.content.toLowerCase() === response.body.answer.toLowerCase() && res.author.id === message.author.id, { max: 1, time: 15000,