This commit is contained in:
Dragon Fire
2024-04-22 15:53:06 -04:00
parent f128099e87
commit 770fe2c4ab
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -68,7 +68,10 @@ module.exports = class AkinatorCommand extends Command {
} else {
await aki.step(ans);
}
if (aki.guessed) {
if (!aki.question) {
win = false;
break;
} else if (aki.guessed) {
const guess = aki.guessed;
timesGuessed++;
const embed = new EmbedBuilder()