Archived
1
0
Fork 0

Rewrote nearly everything!

* Rewrote the whole architecture to achieve extreme modularity
* Added the ability to build a multiprotocol bot
* Added cabal integration
* Added configuration handling the XMonad style
* Added configuration in ~/.hsbot
* Refactored many many named and functions
* Refactored data structures
* Cleaned a big bunch of stuff
This commit is contained in:
Julien Dessaux 2010-05-16 00:01:00 +02:00
parent c20cfe88b3
commit c1662ba7b9
33 changed files with 856 additions and 654 deletions

18
Hsbot/Config.hs Normal file
View file

@ -0,0 +1,18 @@
module Hsbot.Config
( Config(..)
, defaultConfig
) where
import Hsbot.Irc.Config (IrcConfig)
-- | Configuration data type
data Config = Config
{ ircConfigs :: [IrcConfig]
}
-- | User configuration
defaultConfig :: Config
defaultConfig = Config
{ ircConfigs = []
}