mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 04:11:08 -05:00
Removed reply_prefix from examples
These methods now automatically add in reply_prefix in v3.
This commit is contained in:
@@ -39,12 +39,12 @@ class MyBot < Ebooks::Bot
|
|||||||
|
|
||||||
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, "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, "nice tweet")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user