README.markdown in chatterbot-2.0.5 vs README.markdown in chatterbot-2.1.0
- old
+ new
@@ -20,11 +20,10 @@
* Use a simple scripting language, or extend a Bot class if you need it
* Wraps the Twitter gem so you have access to the entire Twitter API
* Simple blocklist system to limit your annoyance of users
* Avoid your bot making a fool of itself by ignoring tweets with
certain bad words
-* Basic Streaming API support
Using Chatterbot
================
@@ -100,31 +99,18 @@
that you should just be using the Twitter gem directly.
Streaming
---------
-Chatterbot has some basic support for the Streaming API. If you want
-to do something complicated, you should probably consider using the
-[Twitter gem](https://github.com/sferik/twitter#streaming) directly.
+Chatterbot used to have some basic support for the Streaming API, but
+I've removed it because Twitter is removing and/or restricting access
+to those APIs. If you need the Streaming API, I highly recommend using
+the the [Twitter
+gem](https://github.com/sferik/twitter#streaming). Chatterbot is built
+on the Twitter gem, it works great, and has support for streaming.
-Basic usage is very straightforward:
- use_streaming true
- home_timeline do |tweet|
- puts "someone i follow tweeted! #{tweet.text}"
- end
-
-
-You can also run a search:
-
- use_streaming true
- search("pizza") do |tweet|
- puts "someone is talking about pizza! #{tweet.text}"
- end
-
-
-
What Can I Do?
--------------
Here's a list of the important methods in the Chatterbot DSL:
@@ -353,10 +339,10 @@
I can work with you on that.
Copyright/License
-----------------
-Copyright (c) 2016 Colin Mitchell. Chatterbot is distributed under the
+Copyright (c) 2018 Colin Mitchell. Chatterbot is distributed under the
MIT licence -- Please see LICENSE.txt for further details.
http://muffinlabs.com