Archived
1
0
Fork 0
This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
hsbot/Config.hs
Julien Dessaux fd8d5faf5f Began a complete rewrite of command and plugin management.
Wrote a command routing statement, added an IrcPlugin monad.
2010-02-04 21:05:37 +01:00

32 lines
651 B
Haskell

module Config
( config
, defaultPlugins
) where
import Network
import Hsbot.Types
-- | Imported plugins goes there
defaultPlugins :: [String]
defaultPlugins = [ "Ping", "Core" ]
-- | User server
localhost :: IrcServer
localhost = IrcServer
{ serverAddress = "localhost"
, 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 = localhost
}