Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
class Show a => Message a where Source #
server :: a -> String Source #
extracts the tag of the server involved in a given message
extracts the nickname involved in a given message.
fullName :: a -> String Source #
fullName
extracts the full user name involved in a given message.
channels :: a -> [Nick] Source #
channels
extracts the channels a Message operate on.
lambdabotName :: a -> Nick Source #
Instances
Message IrcMessage Source # | |
Defined in Lambdabot.IRC server :: IrcMessage -> String Source # nick :: IrcMessage -> Nick Source # fullName :: IrcMessage -> String Source # channels :: IrcMessage -> [Nick] Source # lambdabotName :: IrcMessage -> Nick Source # |