Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: interrupt during disconnected phase
Because the `time.sleep` during the disconnect phase, the signal handling is thrown off and a new bot is spawned before the `bot.hasquit` flag can be checked. Add a check at the top of the loop to see if the `hasquit` flag was set during a disconnect. Fixes #1478
- Loading branch information