--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Initialise your bot module. Always call super if you override this method, as important variables are set up for you:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "@bot:"
    body: the rbot instance
  - !ruby/struct:SM::Flow::LI 
    label: "@registry:"
    body: the botmodule's registry, which can be used to store permanent data (see Registry::Accessor for additional documentation)
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: "Other instance variables which are defined and should not be overwritten byt the user, but aren't usually accessed directly, are:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "@manager:"
    body: the plugins manager instance
  - !ruby/struct:SM::Flow::LI 
    label: "@botmodule_triggers:"
    body: "an Array of words this plugin #register()ed itself for"
  - !ruby/struct:SM::Flow::LI 
    label: "@handler:"
    body: the MessageMapper that handles this plugin's maps
  type: :NOTE
full_name: Irc::Bot::Plugins::BotModule::new
is_singleton: true
name: new
params: ()
visibility: public
