mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix 20q
This commit is contained in:
@@ -104,14 +104,14 @@ module.exports = class TwentyQuestionsCommand extends Command {
|
||||
const { text } = await request
|
||||
.post(`${this.makeBaseURI(game)}${startURL}`)
|
||||
.set({
|
||||
Origin: `${this.makeBaseURI(game)}/`,
|
||||
Origin: this.makeBaseURI(game),
|
||||
Referer: `${this.makeBaseURI(game)}/gs${game ? 'e' : 'q-en'}`,
|
||||
'User-Agent': agent
|
||||
})
|
||||
.attach({
|
||||
submit: ' Play ',
|
||||
age: '',
|
||||
cctkr: 'US,AR,VI,GB,AF,PL'
|
||||
cctkr: 'US,AR,VI,GB,AF,PL',
|
||||
submit: '++Play++'
|
||||
});
|
||||
const $ = cheerio.load(text);
|
||||
const i = game === 'starwars' || game === 'marvel' ? 5 : 2;
|
||||
|
||||
Reference in New Issue
Block a user