Provides access to plugin-specific options.
@return [Hash] A hash of options
# File lib/cinch/plugin.rb, line 297 def config @bot.config.plugins.options[self.class] || {} end
This method will be executed whenever a message matches the {Plugin::ClassMethods#match match pattern} of the plugin.
@abstract @return [void] @see Plugin::ClassMethods#match
# File lib/cinch/plugin.rb, line 291 def execute(*args) end
This method will be executed whenever an event the plugin {Plugin::ClassMethods#listen_to listens to} occurs.
@abstract @return [void] @see Plugin::ClassMethods#listen_to
# File lib/cinch/plugin.rb, line 282 def listen(*args) end
(see Bot#synchronize)
# File lib/cinch/plugin.rb, line 272 def synchronize(*args, &block) @bot.synchronize(*args, &block) end
Generated with the Darkfish Rdoc Generator 2.