Hanabi v0.1.1 Hanabi.IRC.Numeric View Source
This module maps numeric replies (as defined in
RFC1459, section 6) to
more convenient constants. (e.g. : @rpl_topic "332"
). Please take
a look to the
module’s source code
for a detailed list.
Note : the numeric values are stored as string (they’re often used in
the :command
field of a Hanabi.IRC.Message
struct).
How to use them ? Just add use Hanabi.IRC.Numeric
at the top of your module.