lib/chatterbot/followers.rb in chatterbot-0.7.1 vs lib/chatterbot/followers.rb in chatterbot-0.9.0

- old
+ new

@@ -7,7 +7,16 @@ # def followers(opts={}) return unless require_login client.followers(opts).to_a end + + # + # follow a user + # + # @param u a Twitter::User or user id + def follow(u) + return unless require_login + client.follow(u) + end end end