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

[BUG] #45

Open
FaizurXD opened this issue May 13, 2024 · 1 comment
Open

[BUG] #45

FaizurXD opened this issue May 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@FaizurXD
Copy link

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

@FaizurXD FaizurXD added the bug Something isn't working label May 13, 2024
@alluding
Copy link

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.

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

3 participants