Implemented update message handling in the bot's core.
This commit is contained in:
parent
a12e492772
commit
8b33600f38
9 changed files with 161 additions and 64 deletions
|
@ -19,7 +19,7 @@ import Hsbot.Irc.Message
|
|||
import Hsbot.Irc.Plugin
|
||||
import Hsbot.Irc.Server
|
||||
import Hsbot.Irc.Types
|
||||
import Hsbot.Message
|
||||
import Hsbot.Types
|
||||
|
||||
-- | IrcBot's main entry point
|
||||
startIrcbot :: IrcConfig -> Chan BotMsg -> Chan BotMsg -> IO ()
|
||||
|
|
|
@ -14,7 +14,7 @@ import System.IO
|
|||
import Hsbot.Irc.Config
|
||||
import Hsbot.Irc.Message
|
||||
import Hsbot.Irc.Plugin.Utils
|
||||
import Hsbot.Message
|
||||
import Hsbot.Types
|
||||
|
||||
-- | The Ircbot monad
|
||||
type IrcBot = StateT IrcBotState IO
|
||||
|
|
Reference in a new issue