From c1662ba7b982a8502dc9f32031b7cb518df7f60e Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 16 May 2010 00:01:00 +0200 Subject: 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 --- Hsbot/Config.hs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Hsbot/Config.hs (limited to 'Hsbot/Config.hs') diff --git a/Hsbot/Config.hs b/Hsbot/Config.hs new file mode 100644 index 0000000..9ce62c5 --- /dev/null +++ b/Hsbot/Config.hs @@ -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 = [] + } + -- cgit v1.2.3