Wrote a dynamic compilation stuff that works (unable to test reboot yet)
This commit is contained in:
parent
ea607ba1b1
commit
1f6c64749d
7 changed files with 183 additions and 0 deletions
26
Config.hs
Normal file
26
Config.hs
Normal file
|
@ -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]
|
||||
}
|
||||
|
Reference in a new issue