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

Have bot post a message when it comes online #40

Open
Ramsfield opened this issue Feb 12, 2021 · 2 comments
Open

Have bot post a message when it comes online #40

Ramsfield opened this issue Feb 12, 2021 · 2 comments

Comments

@Ramsfield
Copy link
Collaborator

It might be helpful (especially with the introduction of !update) to have the bot send a message in specific channels upon wakeup

@ZenKitty
Copy link
Contributor

Technically possible with on_ready event handler, but in testing I've found that the event handler will trigger multiple times with even slight network connection hiccups. Could get around it by setting a flag so it only prints a message on startup though. I'll see if there's a more elegant solution.

@CodeMastr3
Copy link
Owner

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

No branches or pull requests

3 participants