lib/chatterbot/profile.rb
def profile_text(p=nil)
      return if require_login == false
      if p.nil?
        client.user.description
      else
        data = {
          description: p
        }
        client.update_profile(data)
        p
      end
    end
def profile_text(p=nil)
      return if require_login == false
      if p.nil?
        client.user.description
      else
        data = {
          description: p
        }
        client.update_profile(data)
        p
      end
    end
def profile_text ( p = nil ) return if require_login == false if p . nil? client . user . description else data = { description : p } client . update_profile ( data ) p end end
get/set the profile description
get / set the profile description