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

Graceful shutdown #243

Open
EhudKeywee opened this issue Mar 5, 2020 · 1 comment
Open

Graceful shutdown #243

EhudKeywee opened this issue Mar 5, 2020 · 1 comment

Comments

@EhudKeywee
Copy link

Hi,
Seems like there is no way to stop the bot while running commands.
It will be nice if the SlackRubyBot::App.instance.run will catch" kill signal" will stop listen to the slack and then once all commands finished will get out.

@wasabigeek
Copy link
Contributor

Hi! To clarify, is it something like this:

  • User enters command, bot starts executing
  • Before bot finishes, User enters a "Kill" command. Bot continues to execute current command
  • User enters a new command
  • Bot stops and doesn't execute the new command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants