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 --- Config.hs | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 Config.hs (limited to 'Config.hs') diff --git a/Config.hs b/Config.hs deleted file mode 100644 index fbf98b1..0000000 --- a/Config.hs +++ /dev/null @@ -1,32 +0,0 @@ -module Config - ( config - , defaultPlugins - ) where - -import Network - -import Hsbot.Types - --- | Imported plugins goes there -defaultPlugins :: [String] -defaultPlugins = [] - --- | User server -localhost :: IrcServer -localhost = IrcServer - { serverAddress = "localhost" - , serverPort = PortNumber 6667 - , joinChannels = ["#shbot", "#geek"] - , nickname = "hsbot" - , password = "" - , realname = "The One True bot, with it's haskell soul." - , administrators = ["julien"] - } - --- | User configuration -config :: Config -config = Config - { commandPrefix = '@' - , ircServer = localhost - } - -- cgit v1.2.3