Update README.md

This commit is contained in:
Jaiden Mispy 2014-12-05 23:43:58 +10:00
parent 92d3c53b79
commit fe34c94e04

View file

@ -66,17 +66,17 @@ class MyBot < Ebooks::Bot
def on_follow(user)
# Follow a user back
# follow(user[:screen_name])
# follow(user.screen_name)
end
def on_mention(tweet)
# Reply to a mention
# reply(tweet, meta(tweet)[:reply_prefix] + "oh hullo")
# reply(tweet, meta(tweet).reply_prefix + "oh hullo")
end
def on_timeline(tweet)
# Reply to a tweet in the bot's timeline
# reply(tweet, meta(tweet)[:reply_prefix] + "nice tweet")
# reply(tweet, meta(tweet).reply_prefix + "nice tweet")
end
end