lib/chatterbot/tweet.rb in chatterbot-2.0.0.pre vs lib/chatterbot/tweet.rb in chatterbot-2.0.2
- old
+ new
@@ -20,12 +20,13 @@
debug e
false
#:nocov:
end
+
# reply to a tweet
def reply(txt, source)
debug txt
- tweet txt, {:in_reply_to_status_id => source[:id]}, source
+ tweet txt, {:in_reply_to_status_id => source.id}, source
end
end
end