More Stoof

This commit is contained in:
Daniel Odendahl Jr
2017-10-13 17:33:29 +00:00
parent 76111000b5
commit 981f59b1b1
40 changed files with 228 additions and 125 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ module.exports = class QuizCommand extends Command {
answers.push(correct);
await msg.say(stripIndents`
**You have 15 seconds to answer this question.**
_${decodeURIComponent(body.results[0].category)}:_ ${decodeURIComponent(body.results[0].question)}
_${decodeURIComponent(body.results[0].category)}_
${decodeURIComponent(body.results[0].question)}
${type === 'boolean' ? 'True or False?' : ''}${type === 'multiple' ? `${list(shuffle(answers), 'or')}?` : ''}
`);
const msgs = await msg.channel.awaitMessages(res => res.author.id === msg.author.id, {