Traceback (most recent call last):
File "D:\Apps\Anaconda\envs\test_captcha\lib\site-packages\discord\http.py", line 579, in request
raise CaptchaRequired(response, data) # type: ignore # Should not be text at this point
discord.errors.CaptchaRequired: 400 Bad Request (error code: -1): Captcha required
File "D:\Apps\Anaconda\envs\test_captcha\lib\site-packages\discord\client.py", line 1872, in accept_invite
data = await state.http.accept_invite(invite.code, type, **kwargs)
File "D:\Apps\Anaconda\envs\test_captcha\lib\site-packages\discord\http.py", line 599, in request
previous['captcha_key'] = await captcha_handler.fetch_token(e.json, self.proxy, self.proxy_auth)
TypeError: fetch_token() takes 1 positional argument but 4 were given
System Information
Python v3.9.12-final
discord.py-self v2.0.0-alpha
discord.py-self pkg_resources: v2.0.0a2
aiohttp v3.8.1
system info: Windows 10 10.0.19044
Checklist
[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).
Summary
CaptchaHandler not working
Reproduction Steps
this happened when i was trying to get a captcha token.
Code
Expected Results
Get captcha token
Actual Results
System Information
Checklist
Additional Information
No response