This commit is contained in:
Daniel Odendahl Jr
2017-09-05 03:32:13 +00:00
parent 1c9b5156e9
commit e57b0b3afa
3 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -58,8 +58,7 @@ module.exports = class QuizCommand extends Command {
await msg.say(stripIndents`
**You have 15 seconds to answer this question.**
_${decodeURIComponent(body.results[0].category)}:_ ${decodeURIComponent(body.results[0].question)}
${type === 'boolean' ? 'True or False?' : ''}${type === 'multiple' ? list(shuffle(answers), 'or') : ''}
${type === 'boolean' ? 'True or False?' : ''}${type === 'multiple' ? `${list(shuffle(answers), 'or')}?` : ''}
`);
const msgs = await msg.channel.awaitMessages(res => res.author.id === msg.author.id, {
max: 1,