mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 12:21:11 -05:00
Update README.md
This commit is contained in:
@@ -66,17 +66,17 @@ class MyBot < Ebooks::Bot
|
|||||||
|
|
||||||
def on_follow(user)
|
def on_follow(user)
|
||||||
# Follow a user back
|
# Follow a user back
|
||||||
# follow(user[:screen_name])
|
# follow(user.screen_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
def on_mention(tweet)
|
def on_mention(tweet)
|
||||||
# Reply to a mention
|
# Reply to a mention
|
||||||
# reply(tweet, meta(tweet)[:reply_prefix] + "oh hullo")
|
# reply(tweet, meta(tweet).reply_prefix + "oh hullo")
|
||||||
end
|
end
|
||||||
|
|
||||||
def on_timeline(tweet)
|
def on_timeline(tweet)
|
||||||
# Reply to a tweet in the bot's timeline
|
# 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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user