
* 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
18 lines
296 B
Haskell
18 lines
296 B
Haskell
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 = []
|
|
}
|
|
|