From 69e7a2762ecd76937f5404e96981e78f6af979c9 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 16 Sep 2020 16:02:45 -0400 Subject: [PATCH] Add category to quiz --- commands/games-sp/quiz.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-sp/quiz.js b/commands/games-sp/quiz.js index 27cbd54c..55711a16 100644 --- a/commands/games-sp/quiz.js +++ b/commands/games-sp/quiz.js @@ -51,7 +51,7 @@ module.exports = class QuizCommand extends Command { answers.push(correct); const shuffled = shuffle(answers); await msg.reply(stripIndents` - **You have 15 seconds to answer this question.** + **You have 15 seconds. The category is _${decodeURIComponent(body.results[0].category)}_.** ${decodeURIComponent(body.results[0].question)} ${shuffled.map((answer, i) => `**${choices[i]}.** ${answer}`).join('\n')} `); diff --git a/package.json b/package.json index 1d72df11..e2726db7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "119.25.1", + "version": "119.25.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {