Closed pizzaserved closed 10 months ago
If you're being CAPTCHA'd in the library and not in the official client, you can try installing the (VERY ALPHA) refactor/tls branch like this:
$ git clone https://github.com/dolfies/discord.py-self --branch refactor/tls
$ cd discord.py-self
$ python3 -m pip install -U .[voice]
is the tls branch still the suggested solution?
Summary
Captcha required appears for some accounts
Reproduction Steps
Just trying to log in, join a DM, and getting the captcha login error: discord.errors.CaptchaRequired: 400 Bad Request (error code: -1): Captcha required
Code
No response
Expected Results
User logs in normally
Actual Results
File "D:\py\py.mq.midjourney\venv\lib\site-packages\discord\client.py", line 1940, in join_guild data = await state.http.join_guild(guild_id, lurking, state.session_id) File "D:\py\py.mq.midjourney\venv\lib\site-packages\discord\http.py", line 949, in request headers['X-Captcha-Key'] = await captcha_handler(e) File "D:\py\py.mq.midjourney\venv\lib\site-packages\discord\client.py", line 747, in handle_captcha raise exception File "D:\py\py.mq.midjourney\venv\lib\site-packages\discord\http.py", line 929, in request raise CaptchaRequired(response, data) # type: ignore discord.errors.CaptchaRequired: 400 Bad Request (error code: -1): Captcha required
System Information
Checklist
Additional Information
No response