Archived
1
0
Fork 0

Made some slight changes in order to make the bot's core "compile".

This commit is contained in:
Julien Dessaux 2010-07-04 01:35:47 +02:00
parent 11c2c16835
commit 116c655fdc
4 changed files with 66 additions and 58 deletions

View file

@ -19,8 +19,6 @@ import qualified Data.Map as M
import Data.Time
import System.IO
import Hsbot.Config
-- | The Bot monad
type Bot = StateT BotState IO
@ -29,7 +27,6 @@ data BotState = BotState
{ botStartTime :: UTCTime -- the bot's uptime
, botPlugins :: M.Map String (PluginState, MVar (), ThreadId) -- Loaded plugins
, botChan :: Chan BotMsg -- the bot's communication channel
, botConfig :: [BotConfig] -- the bot's starting config
, botResumeData :: MVar BotResumeData -- the necessary data to resume the bot's operations on reboot
}