mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
More Stoof
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user