question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Hacky OPCode 14 fails with unavailable guilds

See original GitHub issue

I get this error when running the code

Task exception was never retrieved
future: <Task finished name='Task-8' coro=<ConnectionState._delay_ready() done, defined at C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\state.py:418> exception=IndexError('list index out of range')>
Traceback (most recent call last):
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\state.py", line 465, in _delay_ready
    self.call_handlers('ready')
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\state.py", line 234, in call_handlers
    func(*args, **kwargs)
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 301, in _handle_ready
    str(guild.channels[0].id): [
IndexError: list index out of range

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
caiocinelcommented, Jul 12, 2021

@caiocinel It seems to work now. Can you git pull and try again?

I redid the tests and apparently it was fixed 😃

0reactions
dolfiescommented, Jul 11, 2021

@caiocinel It seems to work now. Can you git pull and try again?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unavailable guilds received on `GUILD_CREATE` · Issue #5054
Someone in our community reported a bug with receiving an unavailable guild on a GUILD_CREATE . I asked around and this has been...
Read more >
Discord,js v14 Error with GatewayIntgentBits.Guilds
With version 14, I'm getting an error: TypeError: Cannot read properties of undefined (reading 'Guild') .
Read more >
File: CHANGES - Debian Sources
2016-11-14 Mikkel Krautz <mikkel@krautz.dk> fa27098 GlobalShortcutWin: ... 4efd506 Merge PR #2616: plugins: fix compile error on Linux 36ae0fc Merge PR ...
Read more >
Sword Coast Stratagems - GitHub Pages
Sword Coast Stratagems is a collection of mini-mods for Baldur's Gate series of games. It is compatible with the Enhanced Editions of Baldur's...
Read more >
https://huggingface.co/jeniya/BERTOverflow/commit/...
... +##ript +know +##ari +##ions +##llow +error +sim +object +##ial +ev +time ... +commun +##medi +dynamically +Ap +correspond +14 +fill +##amp +##imum +te ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found