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