32 lines
632 B
Haskell
32 lines
632 B
Haskell
module Config
|
|
( config
|
|
, defaultPlugins
|
|
) where
|
|
|
|
import Network
|
|
|
|
import Hsbot.Types
|
|
|
|
-- | Imported plugins goes there
|
|
defaultPlugins :: [String]
|
|
defaultPlugins = [ "Ping", "Quote" ]
|
|
|
|
-- | User server
|
|
kro :: IrcServer
|
|
kro = IrcServer
|
|
{ serverAddress = "perseus"
|
|
, serverPort = PortNumber 6667
|
|
, joinChannels = ["#shbot"]
|
|
, nickname = "hsbot"
|
|
, password = ""
|
|
, realname = "The One True bot, with it's haskell soul."
|
|
, administrators = ["julien"]
|
|
}
|
|
|
|
-- | User configuration
|
|
config :: Config
|
|
config = Config
|
|
{ commandPrefix = '@'
|
|
, ircServer = kro
|
|
}
|
|
|