slack-ruby-bot icon indicating copy to clipboard operation
slack-ruby-bot copied to clipboard

Graceful shutdown

Open EhudKeywee opened this issue 5 years ago • 1 comments

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.

EhudKeywee avatar Mar 05 '20 08:03 EhudKeywee

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

wasabigeek avatar May 23 '20 03:05 wasabigeek