Skip to content

Conversation

@shahriyardx
Copy link
Contributor

The current version of nextcord raises RuntimeError if any event gets dispatched before bot is ready.

@DenverCoder1
Copy link
Collaborator

DenverCoder1 commented Oct 26, 2021

Would bot.wait_until_ready() be a possible fix?

That way the event still gets dispatched, just that it will wait to be ready first.

Edit: I've tested it and it seems like your approach may work better.

@DenverCoder1
Copy link
Collaborator

This works great! Thanks for the contribution 🎉

@DenverCoder1 DenverCoder1 merged commit 8f6ec5e into nextcord:master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants