Sha256: 894ae43d1afc1eca004acb95c85c8533e2929673f26697b1a11e258616820ba0
Contents?: true
Size: 452 Bytes
Versions: 7
Compression:
Stored size: 452 Bytes
Contents
#!/usr/bin/env ruby # # require the dsl lib to include all the methods you see below. # require 'rubygems' require 'chatterbot/dsl' puts "Loading search_bot.rb" ## ## 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://" blocklist "mean_user, private_user" search("twitter", :lang => "en") do |tweet| puts tweet[:text] end
Version data entries
7 entries across 7 versions & 1 rubygems