irc-0.6.1.0: A small library for parsing IRC messages.

Safe Haskell | Safe
Language | Haskell2010

Network.IRC.Commands

Contents

- Types
- IRC Functions

Synopsis

- type Channel = ByteString
- type Password = ByteString
- nick :: UserName -> Message
- user :: UserName -> ServerName -> ServerName -> RealName -> Message
- joinChan :: Channel -> Message
- part :: Channel -> Message
- quit :: Maybe ByteString -> Message
- privmsg :: ByteString -> ByteString -> Message
- kick :: Channel -> UserName -> Maybe Reason -> Message
- pong :: ServerName -> Message

# Types

type Channel = ByteString Source #

type Password = ByteString Source #

# IRC Functions

nick :: UserName -> Message Source #

user :: UserName -> ServerName -> ServerName -> RealName -> Message Source #

joinChan :: Channel -> Message Source #

part :: Channel -> Message Source #

quit :: Maybe ByteString -> Message Source #

privmsg :: ByteString -> ByteString -> Message Source #

kick :: Channel -> UserName -> Maybe Reason -> Message Source #

pong :: ServerName -> Message Source #