mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 04:11:08 -05:00
Update README.md
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user