Stability | experimental |
---|---|
Maintainer | Ertugrul Soeylemez |
Parser for IRC messages.
- data Message = Message {
- msgOrigin :: !(Maybe UserSpec)
- msgCommand :: !Command
- messageParser :: ServerSet -> Parser Message
- data Command
- commandParser :: Parser Command
IRC messages
Data type for IRC messages.
messageParser :: ServerSet -> Parser MessageSource
Parser for IRC messages.
IRC commands
Data type for IRC commands.
StringCmd ByteString [ByteString] | Arbitrary string command. |
NumericCmd Integer [ByteString] | Arbitrary numeric command. |
commandParser :: Parser CommandSource
Parser for IRC commands and their arguments.