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

fix(start): remove is_ready check #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kingmigdor
Copy link

This is blocking on_ipc_ready from the example, and might confuse people when the bot is not ready and the event is not being fired. The PR simply removes the bot.is_ready check, since listeners are built up before the bot might be ready, as in the example the ipc server being started before bot.run.

The only way for creating an ipc server is starting it before the bot loop is running.

This is blocking on_ipc_ready from the example, and might confuse people when the bot is not ready and the event is not being fired.
@DenverCoder1
Copy link
Collaborator

It seems like this reverts #2, is the runtime error handled any differently now?

(Also, to fix the failing workflow, a rebase or merge should work.)

@kingmigdor
Copy link
Author

It seems like this reverts #2, is the runtime error handled any differently now?

(Also, to fix the failing workflow, a rebase or merge should work.)

The change works for me and has been tested. I'm not sure what happened before, it would be helpful to see which error got raised.

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.

2 participants