slack-ruby / slack-ruby-bot

The easiest way to write a Slack bot in Ruby.
MIT License
1.12k stars 187 forks source link

Graceful shutdown #243

Open EhudKeywee opened 4 years ago

EhudKeywee commented 4 years ago

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 commented 4 years ago

Hi! To clarify, is it something like this: