Archived
1
0
Fork 0

Rationalized the way bot configs are handled.

This commit is contained in:
Julien Dessaux 2010-05-29 16:59:41 +02:00
parent daea135424
commit 57bec4921b
5 changed files with 24 additions and 31 deletions

View file

@ -27,7 +27,7 @@ data BotState = BotState
{ botStartTime :: UTCTime -- the bot's uptime
, botPlugins :: M.Map String (PluginState, ThreadId) -- Loaded plugins
, botChan :: Chan BotMsg -- the bot's communication channel
, botConfig :: Config -- the bot's starting config
, botConfig :: [BotConfig] -- the bot's starting config
, botResumeData :: MVar BotResumeData -- the necessary data to resume the bot's operations on reboot
}