Blocks some stupid spam messages on Twitter (examples).
Set these environment variables with heroku config:set (you'll need a write-capable Twitter app and it's credentials):
chatterbot_consumer_keychatterbot_consumer_secretchatterbot_tokenchatterbot_secret
To run the script you have two options:
- Use the streaming mode
- Start the
chatterbotdyno:heroku ps:scale chatterbot=1
- Run it with the Heroku Scheduler
- Add
bundle exec ./bot.rbto the scheduler