This commit is contained in:
Daniel Odendahl Jr
2017-08-13 15:48:43 +00:00
parent 01e73c5d85
commit aa4cff6270
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -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);
+2 -2
View File
@@ -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, {