Let's get this

This commit is contained in:
lilyissillyyy
2025-10-12 18:36:46 -04:00
parent d16ee89d73
commit 6cb87c02bf
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -105,6 +105,9 @@ module.exports = class AkinatorCommand extends Command {
break;
} else if (buttonPress.customId === 'false') {
await aki.guess(false, true);
if (aki.test) {
await msg.channel.send({ files: [{ attachment: aki.test, name: 'test.txt' }] });
}
guessedLastTurn = true;
}
} else {
+1 -1
View File
@@ -100,7 +100,7 @@ class Akinator {
.post(`https://${this.region}.akinator.com/exclude`)
.send(params.toString(), true)
.set({ 'Content-Type': 'application/x-www-form-urlencoded' });
console.log(text);
this.test = Buffer.from(text);
this.guessed = null;
this.stepLastProposition = body.step;
this.progress = body.progression;