diff --git a/commands/games-sp/akinator.js b/commands/games-sp/akinator.js index 1cfa4cce..ef4c8ddf 100644 --- a/commands/games-sp/akinator.js +++ b/commands/games-sp/akinator.js @@ -36,15 +36,12 @@ module.exports = class AkinatorCommand extends Command { while (timesGuessed < 3) { if (ans === null) await aki.start(); else await aki.step(ans); - if (!aki.answers || aki.currentStep >= 80) { - forceGuess = true; - continue; - } + if (!aki.answers || aki.currentStep >= 79) forceGuess = true; const answers = aki.answers.map(answer => answer.toLowerCase()); answers.push('end'); await msg.say(stripIndents` **${++aki.currentStep + 1}.** ${aki.question} (${Math.round(Number.parseInt(aki.progress, 10))}%) - ${aki.answers.join(' | ')} + ${aki.answers.join(' | ')} | End `); const filter = res => res.author.id === msg.author.id && answers.includes(res.content.toLowerCase()); const msgs = await msg.channel.awaitMessages(filter, { diff --git a/package.json b/package.json index 8ba77738..61932a2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "114.16.0", + "version": "114.16.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {