Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 413 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 413 Bytes

NaBot

NaBot is a typesafe library to write IRC bots.

At the moment, it cannot do much. Here is an example-bot that simply connects on a channel:

import NaBot
import qualified Data.Set as S

cfg :: BotConfig
cfg = defaultConfig { serverHost = ServerHost "irc.freenode.net"
                    , chans      = S.fromList [Chan "#nabot"]
                    }

main :: IO ()
main = runBot cfg