mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 10:02:05 +02:00
Now that's bizarre
This commit is contained in:
@@ -25,7 +25,6 @@ class Akinator {
|
|||||||
async start() {
|
async start() {
|
||||||
const { text } = await request
|
const { text } = await request
|
||||||
.post(`https://${this.region}.akinator.com/game`)
|
.post(`https://${this.region}.akinator.com/game`)
|
||||||
.set({ 'User-Agent': this.agent.toString() })
|
|
||||||
.send({
|
.send({
|
||||||
sid: '1',
|
sid: '1',
|
||||||
cm: this.childMode
|
cm: this.childMode
|
||||||
@@ -42,7 +41,6 @@ class Akinator {
|
|||||||
async step(answer) {
|
async step(answer) {
|
||||||
const { body } = await request
|
const { body } = await request
|
||||||
.post(`https://${this.region}.akinator.com/answer`)
|
.post(`https://${this.region}.akinator.com/answer`)
|
||||||
.set({ 'User-Agent': this.agent.toString() })
|
|
||||||
.send({
|
.send({
|
||||||
step: this.currentStep.toString(),
|
step: this.currentStep.toString(),
|
||||||
progression: this.progress,
|
progression: this.progress,
|
||||||
@@ -72,7 +70,6 @@ class Akinator {
|
|||||||
async back() {
|
async back() {
|
||||||
const { body } = await request
|
const { body } = await request
|
||||||
.post(`https://${this.region}.akinator.com/cancel_answer`)
|
.post(`https://${this.region}.akinator.com/cancel_answer`)
|
||||||
.set({ 'User-Agent': this.agent.toString() })
|
|
||||||
.send({
|
.send({
|
||||||
step: this.currentStep.toString(),
|
step: this.currentStep.toString(),
|
||||||
progression: this.progress,
|
progression: this.progress,
|
||||||
|
|||||||
Reference in New Issue
Block a user