Permalink
Browse files

Example expansion

  • Loading branch information...
coreyhaines committed Sep 29, 2011
1 parent 972c106 commit 6c458a4237407ec1f15216df83970323bbe23277
Showing with 6 additions and 2 deletions.
  1. +6 −2 example/run_bot.rb
View
@@ -4,8 +4,12 @@
bot = TweetBot.configure do |config|
config.response_frequency = 100
- config.respond_to_phrase "#rubyconfbot" do |responses|
- responses << "Enjoy RubyConf"
+ config.respond_to_phrase "tweetbot example phrase" do |responses|
+ responses << "I am tweetbot!" << "You rang?" << "Pretty cool, thanks for saying hello"
+ end
+
+ config.respond_to_phrase "hey @tweetbot" do |responses|
+ responses << "Hey back at ya" << "You rang again?"
end
config.twitter_auth = TwitterAuth::AuthKeys

0 comments on commit 6c458a4

Please sign in to comment.