Update README.md
This commit is contained in:
parent
92d3c53b79
commit
fe34c94e04
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue