abstract class IRCBot::Handler
- IRCBot::Handler
- Reference
- Object
Overview
Abstract handler class, should be extended by modules. Extending this class will automatically register the module with the bot instance.
In your module, you can define multiple on_
methods to handle different commands.
For example, to capture privmsg events you would put on_privmsg(message)
in your module class.
Defined in:
ircbot/module.crInstance Method Summary
-
#on_message(message)
Catch all for any messages that aren't handled by another
on_
method.