desc I18n.t("scripts.remember.command"), I18n.t("scripts.remember.desc", name: name) respond(/remember(:?) (.+)/i) do |message| brain[:user] ||= {} brain[:user][message.user.name] ||= [] brain[:user][message.user.name] << message.match[2] im I18n.t("scripts.remember.response") end desc I18n.t("scripts.about.command"), I18n.t("scripts.about.desc") respond(/about (\w+\b)(:?) (.+)/i) do |message| user = message.match[3] im I18n.t "scripts.about.response", brain_area: message.match[1], user_asking: message.user.name, user_about: user brain[message.match[1].to_sym][user].each do |info| im info end end