aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots
https://discordjs-self-v13.netlify.app
GNU General Public License v3.0
834 stars 172 forks source link

captcha solver 'you need to update your app to perform this action' #1121

Closed fuwu99 closed 4 months ago

fuwu99 commented 8 months ago

Which package has the bugs?

The core library

Issue description

image_2024-04-02_210434384

I implemented 2captcha solver to solve captchas from client.user.setUsername(), but it says You need to update your app before to perform this action.. Probably a problem with the User agent? idk

Code sample

const username = 'username';
const password = 'password';

client.user.setUsername(username, password);

Package version

discord.js-selfbot-v13@3.1.4

Node.js version

20.11.1

Operating system

Windows 10

Priority this issue should have

Medium (should be fixed soon)

Checklist

Additional Information

No response

TheDevYellowy commented 8 months ago

I'm going to be straight with you, I really hope you changed the password before you send this because It's written in plain text in the error

aaronmansfield5 commented 5 months ago

this is normal with Discord, just pass it to the 2captcha API or whatever, all you need is sitekey and rqdata, you can set the URL in the 2captcha request just as https://discord.com/channels/@me

fuwu99 commented 5 months ago

@aaronmansfield5

this is normal with Discord, just pass it to the 2captcha API or whatever, all you need is sitekey and rqdata, you can set the URL in the 2captcha request just as https://discord.com/channels/@me

The 2captcha instance is first initialized and then passed in as ClientOptions when initializing the Client object, so I think the captcha sitekey and rqdata will be handled by the library itself. Plus there's no event/method for me to catch or handle the captchas manually besides from the previous method:( I'm using v13 and referring to https://discordjs-self-v13.netlify.app, if you somehow figure out, pls help meee! Tyvm!

aaronmansfield5 commented 5 months ago

@fuwu99 attempt to use this x-super-properties, here.

aiko-chan-ai commented 4 months ago

fixed (maybe)

fuwu99 commented 4 months ago

Tyvm ely been waiting for a fix 💞