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

isBotRunning or isBotStopped property #1991

Open
vanodevium opened this issue May 17, 2024 · 0 comments
Open

isBotRunning or isBotStopped property #1991

vanodevium opened this issue May 17, 2024 · 0 comments

Comments

@vanodevium
Copy link

I want to make health check for the bot.

But with current functionality of bot instance I can't determine is the bot running or not.

It would be useful to have some property or method getter to determine current state of the bot: is it running or is stopped already.

internal check for stop() uses private properties polling and webhookServer, so I can't use it.

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

1 participant