mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
Fix akinator 80 question limit
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = class AkinatorCommand extends Command {
|
|||||||
while (timesGuessed < 3) {
|
while (timesGuessed < 3) {
|
||||||
if (ans === null) await aki.start();
|
if (ans === null) await aki.start();
|
||||||
else await aki.step(ans);
|
else await aki.step(ans);
|
||||||
if (!aki.answers || aki.currentStep >= 79) forceGuess = true;
|
if (!aki.answers || aki.currentStep >= 78) forceGuess = true;
|
||||||
const answers = aki.answers.map(answer => answer.toLowerCase());
|
const answers = aki.answers.map(answer => answer.toLowerCase());
|
||||||
answers.push('end');
|
answers.push('end');
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
|
|||||||
Reference in New Issue
Block a user