ebooks_example

Example of a full twitter_ebooks bot definition

139
52
Ruby

ebooks_example

As requested, this is the twitter_ebooks app which I use to run most of my own bots. It tweets one guaranteed tweet every 24h, always responds to interactions, and has some small unprompted interaction probability based on keyword matching.

Usage

git clone https://github.com/mispy/ebooks_example.git
cd ebooks_example
bundle install
ebooks archive username corpus/username.json
ebooks consume corpus/username.json

Populate bots.rb with your auth details, the bot username and model name, then:

ebooks start

Also runs as a Heroku app! See the twitter_ebooks README for more information.