summaryrefslogtreecommitdiff
path: root/Config.hs
diff options
context:
space:
mode:
authorJulien Dessaux2009-08-05 01:01:47 +0200
committerJulien Dessaux2009-08-05 01:01:47 +0200
commit1f6c64749d39eb31f171b7fa3a44cbe396bbf071 (patch)
tree23caca402ad07b849661678662f748b9e5cc7355 /Config.hs
parentInitial import (diff)
downloadhsbot-1f6c64749d39eb31f171b7fa3a44cbe396bbf071.tar.gz
hsbot-1f6c64749d39eb31f171b7fa3a44cbe396bbf071.tar.bz2
hsbot-1f6c64749d39eb31f171b7fa3a44cbe396bbf071.zip
Wrote a dynamic compilation stuff that works (unable to test reboot yet)
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs26
1 files changed, 26 insertions, 0 deletions
diff --git a/Config.hs b/Config.hs
new file mode 100644
index 0000000..44278f6
--- /dev/null
+++ b/Config.hs
@@ -0,0 +1,26 @@
+module Config
+ ( config
+ ) where
+
+import Hsbot.Core
+
+-- | Imported plugins goes there
+
+-- | User server
+kro = Server
+ { address = "kro.corp"
+ , port = 6667
+ , channels = ["#geek"]
+ , nickname = "hsbot"
+ , password = ""
+ , realname = "The One True bot, with it's haskell soul."
+ , administrators = ["julien"]
+ }
+
+-- | User configuration
+config :: Config
+config = Config
+ { commandPrefixes = ['@']
+ , servers = [kro]
+ }
+