summaryrefslogtreecommitdiff
path: root/Config.hs
diff options
context:
space:
mode:
authorJulien Dessaux2010-05-16 00:01:00 +0200
committerJulien Dessaux2010-05-16 00:01:00 +0200
commitc1662ba7b982a8502dc9f32031b7cb518df7f60e (patch)
treef00dbd9cb39bf0fbc20949105ea2b93d9e868070 /Config.hs
parentAdded the quote module. (diff)
downloadhsbot-c1662ba7b982a8502dc9f32031b7cb518df7f60e.tar.gz
hsbot-c1662ba7b982a8502dc9f32031b7cb518df7f60e.tar.bz2
hsbot-c1662ba7b982a8502dc9f32031b7cb518df7f60e.zip
Rewrote nearly everything!v0.2.0
* 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
Diffstat (limited to '')
-rw-r--r--Config.hs32
1 files changed, 0 insertions, 32 deletions
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
- }
-