desc "remember: I'm at the dentist", I18n.t("scripts.remember", name: name) respond(/remember(:?) (.+)/i) do |message| brain[:user] ||= {} brain[:user][message.user.name] ||= [] brain[:user][message.user.name] << message.match[2] im "No worries, your secrets aren't safe with me... oh wait..." end desc "about user julian", I18n.t("scripts.about") respond(/about (\w+\b)(:?) (.+)/i) do |message| user = message.match[3] im "I'm glad you need my knowlege on #{message.match[1]}, #{message.user.name}." im "I can tell you somethings about #{user}." im "What I know... lets see..." brain[message.match[1].to_sym][user].each do |info| im info end end