mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2024-11-22 20:19:32 +01:00
669 B
669 B
Catching events
This page is a non-exhaustive list of catchable events via plugin
methods (other events include configuration hooks <configuration-hooks>
and
HTTP server callbacks <http_plugins>
)
Commands and numerics
You can catch commands directly with “do-methods”: when the bot
receives a PRIVMSG
, all doPrivmsg
methods are
called; when it gets a 437
message, all do437
methods are called, etc.
Those command take two commands: an Irc object <supybot-irclib-irc>
and a IrcMsg object <supybot-ircmsgs>
.
To get a list of all possible messages, check IRC RFCs.