fix: captcha solver
This commit is contained in:
parent
03fe959be5
commit
288be9b0a1
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "discord.js-selfbot-v13",
|
||||
"version": "2.13.1",
|
||||
"version": "2.13.2",
|
||||
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
|
||||
"main": "./src/index.js",
|
||||
"types": "./typings/index.d.ts",
|
||||
|
@ -106,7 +106,7 @@ class APIRequest {
|
||||
if (captchaKey && typeof captchaKey == 'string') {
|
||||
if (!this.options.data) this.options.data = {};
|
||||
// Delete cookie (https://t.me/DMDGOBugsAndFeatures/626) Wtf Unknown Message Error ???
|
||||
// headers.Cookie = undefined;
|
||||
headers.Cookie = undefined;
|
||||
this.options.data.captcha_key = captchaKey;
|
||||
if (captchaRqtoken) this.options.data.captcha_rqtoken = captchaRqtoken;
|
||||
}
|
||||
|
@ -398,7 +398,7 @@ class RequestHandler {
|
||||
data,
|
||||
this.manager.client.options.http.headers['User-Agent'],
|
||||
);
|
||||
await this.manager.client.sleep(5_000);
|
||||
// Sleep: await this.manager.client.sleep(5_000);
|
||||
this.manager.client.emit(
|
||||
DEBUG,
|
||||
`Captcha details:
|
||||
|
Loading…
Reference in New Issue
Block a user