mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Interesting
This commit is contained in:
@@ -88,7 +88,7 @@ class Akinator {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
if (!correct && keepGoing) {
|
if (!correct && keepGoing) {
|
||||||
const { body } = await request
|
const { body, text } = await request
|
||||||
.post(`https://${this.region}.akinator.com/exclude`)
|
.post(`https://${this.region}.akinator.com/exclude`)
|
||||||
.send({
|
.send({
|
||||||
step: this.currentStep.toString(),
|
step: this.currentStep.toString(),
|
||||||
@@ -98,7 +98,7 @@ class Akinator {
|
|||||||
session: this.session,
|
session: this.session,
|
||||||
signature: this.signature
|
signature: this.signature
|
||||||
});
|
});
|
||||||
console.log(body);
|
console.log(text);
|
||||||
this.guessed = null;
|
this.guessed = null;
|
||||||
this.stepLastProposition = body.step;
|
this.stepLastProposition = body.step;
|
||||||
this.progress = body.progression;
|
this.progress = body.progression;
|
||||||
|
|||||||
Reference in New Issue
Block a user