theadell / kickbot

The easy way to get your office foosball games rolling. Handles game invites and lineups on Slack, so you can focus on the fun.
MIT License
2 stars 0 forks source link

Implement Graceful Shutdown #17

Closed theadell closed 7 months ago

theadell commented 7 months ago

kickbot terminates abruptly upon receiving shutdown signals. This can lead to unresolved game requests and other potential issues. Signals like SIGTERM and SIGINT should be handled correctly. During the shutdown, the bot should clean up its current state, specifically by deleting or updating Slack messages related to game requests, indicating that these requests are no longer valid.