diff --git a/XiaoBot.js b/XiaoBot.js index 65babb28..f65aab5f 100644 --- a/XiaoBot.js +++ b/XiaoBot.js @@ -110,7 +110,10 @@ client.on('guildDelete', async guild => { dBotsOrg(count, client.user.id); }); -client.setTimeout(() => process.exit(0), 7.2e+6); +client.setTimeout(() => { + console.log(`[RESTART] Shard ${client.shard.id} Restarted.`); + process.exit(0); +}, 7.2e+6); client.login(TOKEN); diff --git a/commands/games/quiz.js b/commands/games/quiz.js index 58686f47..34b380a8 100644 --- a/commands/games/quiz.js +++ b/commands/games/quiz.js @@ -10,7 +10,7 @@ module.exports = class QuizCommand extends Command { aliases: ['jeopardy'], group: 'games', memberName: 'quiz', - description: 'Answer a true/false quiz question.', + description: 'Answer a quiz question.', clientPermissions: ['EMBED_LINKS'], args: [ { @@ -43,7 +43,7 @@ module.exports = class QuizCommand extends Command { .setTitle('You have 15 seconds to answer this question:') .setDescription(stripIndents` **${decodeURIComponent(body.results[0].category)}** - True or False: ${decodeURIComponent(body.results[0].question)} + ${type === 'boolean' ? 'True or False: ' : ''}${decodeURIComponent(body.results[0].question)} `); await msg.embed(embed); const msgs = await msg.channel.awaitMessages(res => res.author.id === msg.author.id, {