Consider and add appropriate hooks
Issue #1
open
Discussion in here, we'll fill in this wiki page as we go; hopefully resulting in a decent specification of the hooks.
Comments (2)
-
reporter -
reporter - changed status to open
- Log in to comment
So at the moment the user can add callbacks to any of the
RPL_*
orERR_*
commands from the server either by registering them or by subclassing and providing anon_*
method (e.g.on_rpl_namreply
).Should we define a few friendlier names? e.g.
on_privmsg
could be better calledon_message
perhaps.We should almost certainly define a few more complicated triggers. e.g.
on_channel_message
for privmsg to a channel,on_private_message
too.