Closed FaizurXD closed 2 months ago
This is related to discord.py-self
; you have to download discord.py-self
from the repository itself, as the library is behind compared to the repository. Use pip install git+https://github.com/dolfies/discord.py-self
to install it.
I am getting an error while starting , I just started the code for the first time and this error occurred also I downloaded all the dependencies and packages etc
File "/home/container/.local/lib/python3.10/site -packages/discord/client.py", line 927, in runner await self.start(token, reconnect=reconnect)
File "/home/container/.local/lib/python3.10/site -packages/discord/client.py", line 857, in start
await self.login(token)
File "/home/container/.local/lib/python3.10/site
-packages/discord/client.py", line 698, in login data = await state.http.static_login(token.str
ip()) File "/home/container/.local/lib/python3.10/site
-packages/discord/http.py", line 991, in static_lo gin
await self.startup()
File "/home/container/.local/lib/python3.10/site
-packages/discord/http.py", line 562, in startup self.super_properties, self.encoded_super_prop erties = sp, = await utils._get_info(session)
File "/home/container/.local/lib/python3.10/site
-packages/discord/utils.py", line 1446, in _get_in
fo
bn = await_get_build_number(session)
File "/home/container/.local/lib/python3.10/site -packages/discord/utils.py", line 1474, in_get_bu ild_number
build_url = 'https://discord.com/assets/' + re
.compile(r'assets/+([a-z0-9]+).js').findall(login _page) [-2] + '.js'
IndexError: list index out of range