slack-ruby-bot
slack-ruby-bot copied to clipboard
Graceful shutdown
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.
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