examples/search_bot.rb in chatterbot-1.0.2 vs examples/search_bot.rb in chatterbot-2.0.0.pre
- old
+ new
@@ -12,10 +12,10 @@
## If I wanted to exclude some terms from triggering this bot, I would list them here.
## For now, we'll block URLs to keep this from being a source of spam
##
exclude "http://"
-blacklist "mean_user, private_user"
+blocklist "mean_user, private_user"
search("twitter", :lang => "en") do |tweet|
puts tweet[:text]
end