From 1fac15d42841cf69c2b7ae0fc1650a24de653b3e Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 19 Sep 2017 21:30:21 +0000 Subject: [PATCH] Beep --- commands/games/akinator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);