templates/skeleton.txt in chatterbot-2.0.5 vs templates/skeleton.txt in chatterbot-2.1.0
- old
+ new
@@ -92,18 +92,10 @@
# This will restrict your bot to tweets that come from accounts that
# are following your bot. A tweet from an account that isn't following
# will be rejected
only_interact_with_followers
-#
-# Specifying 'use_streaming' will cause Chatterbot to use Twitter's
-# Streaming API. Your bot will run constantly, listening for tweets.
-# Alternatively, you can run your bot as a cron/scheduled job. In that
-# case, do not use this line. Every time you run your bot, it will
-# execute once, and then exit.
-#
-use_streaming
#
# Here's the fun stuff!
#
@@ -146,45 +138,6 @@
# require a little extra work but can be very handy
#
# home_timeline do |tweet|
# puts tweet.inspect
# end
-
-#
-# Use this block if you want to be notified about new followers of
-# your bot. You might do this to follow the user back.
-#
-# NOTE: This block only works with the Streaming API. If you use it,
-# chatterbot will assume you want to use streaming and will
-# automatically activate it for you.
-#
-# followed do |user|
-# puts user.inspect
-# end
-
-#
-# Use this block if you want to be notified when one of your tweets is
-# favorited. The object passed in will be a Twitter::Streaming::Event
-# @see http://www.rubydoc.info/gems/twitter/Twitter/Streaming/Event
-#
-# NOTE: This block only works with the Streaming API. If you use it,
-# chatterbot will assume you want to use streaming and will
-# automatically activate it for you.
-#
-# favorited do |event|
-# puts event.inspect
-# end
-
-#
-# Use this block if you want to be notified of deleted tweets from
-# your bots home timeline. The object passed in will be a
-# Twitter::Streaming::DeletedTweet
-# @see http://www.rubydoc.info/gems/twitter/Twitter/Streaming/DeletedTweet
-#
-# NOTE: This block only works with the Streaming API. If you use it,
-# chatterbot will assume you want to use streaming and will
-# automatically activate it for you.
-#
-#deleted do |tweet|
-#
-#end