diff --git a/commands/games/akinator.js b/commands/games/akinator.js index cdbaf9e9..4d6c01b2 100644 --- a/commands/games/akinator.js +++ b/commands/games/akinator.js @@ -21,7 +21,7 @@ module.exports = class AkinatorCommand extends Command { let ans = null; this.sessions.set(msg.channel.id, { progress: null, - step: null + step: 0 }); while (this.sessions.get(msg.channel.id).progress < 99 && ++this.sessions.get(msg.channel.id).step <= 80) { const data = ans === null ? await this.createSession(msg.channel) : await this.progress(msg.channel, ans);