    # File lib/rbot/plugins.rb, line 179
        def initialize
          @manager = Plugins::manager
          @bot = @manager.bot
          @priority = nil

          @botmodule_triggers = Array.new

          @handler = MessageMapper.new(self)
          @registry = Registry::Accessor.new(@bot, self.class.to_s.gsub(/^.*::/, ""))

          @manager.add_botmodule(self)
          if self.respond_to?('set_language')
            self.set_language(@bot.lang.language)
          end
        end