# File lib/rbot/plugins.rb, line 396
    def initialize
      @botmodules = {
        :CoreBotModule => [],
        :Plugin => []
      }

      @names_hash = Hash.new
      @commandmappers = Hash.new
      @maps = Hash.new

      # modules will be sorted on first delegate call
      @sorted_modules = nil

      @delegate_list = Hash.new { |h, k|
        h[k] = Array.new
      }

      @dirs = []

      @failed = Array.new
      @ignored = Array.new

      bot_associate(nil)
    end