mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 10:57:08 +02:00
Fix
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user