{- This file is part of funbot. - - Written in 2015 by fr33domlover . - - ♡ Copying is an act of love. Please copy, reuse and share. - - The author(s) have dedicated all copyright and related and neighboring - rights to this software to the public domain worldwide. This software is - distributed without any warranty. - - You should have received a copy of the CC0 Public Domain Dedication along - with this software. If not, see - . -} module FunBot.Config ( configuration , webListenerPort , devAnnChans , feedErrorLogFile ) where import qualified Data.HashMap.Lazy as M import Data.Time.Interval (time) import Data.Time.Units import Network.IRC.Fun.Bot.Types (Connection (..), Config (..)) configuration = Config { connection = Connection { server = "irc.freenode.net" , port = 6667 , tls = False -- not supported yet , nick = "bot_test_joe" , password = Nothing } , channels = ["#freepost-bot-test"] , logDir = "state/chanlogs" , stateFile = "state/state.json" , saveInterval = time (3 :: Second) , botEventLogFile = "state/bot.log" } webListenerPort = 8998 :: Int devAnnChans = M.empty feedErrorLogFile = "state/feed-error.log"