This commit is contained in:
Dragon Fire
2024-03-21 17:16:50 -04:00
parent 0a99c865ef
commit acf02ec40d
+3 -3
View File
@@ -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;