dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
665 stars 155 forks source link

Discord now sends captcha-key in the header #517

Closed 0xACE3 closed 1 year ago

0xACE3 commented 1 year ago

Summary

when solving captcha, it's stuck in the loop. Moreover, discord now sends captcha key in X-Captcha-Key header

Reproduction Steps

..

Code

..

Expected Results

Able to solve captcha when joining the server

Actual Results

Stuck in a loop, keeps solving captcha again and again.the

System Information

windows 11

Checklist

Additional Information

No response

dolfies commented 1 year ago

Sorry for the late response, these new headers have been implemented for a while in the master branch.

0xACE3 commented 1 year ago

but discord keeps the bot in an infinite captcha loop? Why is it like that? I thought maybe it's because of old method, but it's also in the new method.

AYMENJD commented 1 year ago

@0xACE3 Did you find a fix?

0xACE3 commented 1 year ago

yes I fixed it. I made custom changes in the library

dolfies commented 1 year ago

Would appreciate a PR :)

0xACE3 commented 1 year ago

but it's a mess, I fixed such that it works for my use case. I will try to clean it up, then sure make a PR

AYMENJD commented 1 year ago

Thank you, @0xACE3!

pizzaserved commented 8 months ago

@0xACE3 @dolfies was this merged/worked on? looking to make joining guilds work

pizzaserved commented 7 months ago

@dolfies ?