    # File lib/rbot/core/config.rb, line 30
      def handle_list(m, params)
        modules = []
        if params[:module]
          @bot.config.items.each_key do |key|
            mod, name = key.to_s.split('.')
            next unless mod == params[:module]
            modules.push key unless modules.include?(name)
          end
          if modules.empty?
            m.reply _("no such module %{module}") % {:module => params[:module]}
          else
            m.reply modules.join(", ")
          end
        else
          @bot.config.items.each_key do |key|
            name = key.to_s.split('.').first
            modules.push name unless modules.include?(name)
          end
          m.reply "modules: " + modules.join(", ")
        end
      end