lib/chatterbot/profile.rb in chatterbot-1.0.2 vs lib/chatterbot/profile.rb in chatterbot-2.0.0.pre
- old
+ new
@@ -6,10 +6,9 @@
#
# get/set the profile description
#
def profile_text(p=nil)
return if require_login == false
-
if p.nil?
client.user.description
else
data = {
description: p