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

32 lines
630 B
Haskell

module Config
( config
, defaultPlugins
) where
import Network
import Hsbot.Types
-- | Imported plugins goes there
defaultPlugins :: [String]
defaultPlugins = [ "Ping" ]
-- | User server
kro :: IrcServer
kro = IrcServer
{ address = "kro.corp"
, port = PortNumber 6667
, channels = ["#shbot"]
, nickname = "hsbot"
, password = ""
, realname = "The One True bot, with it's haskell soul."
, administrators = ["julien"]
}
-- | User configuration
config :: Config
config = Config
{ commandPrefixes = ['@']
, ircServer = kro
}