Removed reply_prefix from examples
These methods now automatically add in reply_prefix in v3.
This commit is contained in:
parent
0a915b0a30
commit
3a350526b4
1 changed files with 2 additions and 2 deletions
|
@ -39,12 +39,12 @@ class MyBot < Ebooks::Bot
|
|||
|
||||
def on_mention(tweet)
|
||||
# Reply to a mention
|
||||
# reply(tweet, meta(tweet).reply_prefix + "oh hullo")
|
||||
# reply(tweet, "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, "nice tweet")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue