Added exception handling, an autorestart when that happens and output in case of restart/reload
This commit is contained in:
parent
fe1acc3db5
commit
3b914c1b77
6 changed files with 61 additions and 36 deletions
|
@ -66,7 +66,7 @@ data PluginId = PluginId
|
|||
data Message = IncomingMsg IRC.Message
|
||||
| OutgoingMsg IRC.Message
|
||||
|
||||
data BotStatus = BotContinue | BotExit | BotReload | BotRestart deriving (Show)
|
||||
data BotStatus = BotExit | BotReload String | BotRestart (String, Maybe String) deriving (Read, Show)
|
||||
|
||||
-- Config
|
||||
data Config = Config
|
||||
|
|
Reference in a new issue