Class: Irc::Bot::Plugins::Plugin

Inherits:
BotModule show all
Defined in:
lib/rbot/plugins.rb

Overview

A Plugin is a BotModule that provides additional functionality.

A user-defined plugin should subclass this, and then define any of the methods described in the documentation for BotModule to handle interaction with Irc events.

Instance Attribute Summary

Attributes inherited from BotModule

#bot, #handler, #registry

Instance Method Summary collapse

Methods inherited from BotModule

#call_event, #cleanup, #datafile, #default_auth, #define_filter, #dirname, #do_map, #fake_message, #filter_group, #filter_group=, #flush_registry, #handle, #help, #initialize, #load_filters, #map, #map!, #name, #priority, #priority=, #propose_default_path, #register, #to_s, #to_sym, #usage

Constructor Details

This class inherits a constructor from Irc::Bot::Plugins::BotModule

Instance Method Details

#botmodule_classObject



399
400
401
# File 'lib/rbot/plugins.rb', line 399

def botmodule_class
  :Plugin
end