Closed edwin0259 closed 6 years ago
Bot should not be self-reviving on complete exit. Still not sure how to deal with limbo reviving. This is a good start though.
Closing this issue, looks like self reviving is working, also added !refresh
command if the reviving spawns multiple bots at the same time. Will want to look at that eventually.
Bot initialization and monitoring should be moved inside a shell script. This script will start the bot and then monitor it for failure. This could be a simple ping that can determine if the bot is in limbo or dead. If the bot is ded, restart it and log out error.
For some fails the bot should stay dead, shit might become more complicated if it continues to run.