This commit is contained in:
Dragon Fire
2021-06-07 20:11:35 -04:00
parent c606793c2c
commit 6bb8baba4e
+2 -2
View File
@@ -145,8 +145,8 @@ module.exports = class AkinatorCommand extends Command {
win = 'time'; win = 'time';
break; break;
} }
const guessResult = verification.first(); buttonPress = verification.first();
if (guessResult.customID === 'true') { if (buttonPress.customID === 'true') {
win = false; win = false;
break; break;
} else if (timesGuessed >= 3 || forceGuess) { } else if (timesGuessed >= 3 || forceGuess) {