Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
fuwu99 opened this issue Apr 2, 2024 · 6 comments
Closed
3 tasks done

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

fuwu99 opened this issue Apr 2, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@fuwu99
Copy link

fuwu99 commented Apr 2, 2024

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

[email protected]

Node.js version

20.11.1

Operating system

Windows 10

Priority this issue should have

Medium (should be fixed soon)

Checklist

  • I have searched the open issues for duplicates.
  • I have shared the entire traceback.
  • I am using a user token (and it isn't visible in the code).

Additional Information

No response

@fuwu99 fuwu99 added the bug Something isn't working label Apr 2, 2024
@fuwu99 fuwu99 changed the title 2captcha Implemented captcha solver nee captcha solver 'you need to update your app to perform this action' Apr 2, 2024
@TheDevYellowy
Copy link
Contributor

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
Copy link

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
Copy link
Author

fuwu99 commented Jun 16, 2024

@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
Copy link

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

@aiko-chan-ai
Copy link
Owner

fixed (maybe)

@fuwu99
Copy link
Author

fuwu99 commented Jul 6, 2024

Tyvm ely been waiting for a fix 💞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants