README.md in twitter_ebooks-2.2.6 vs README.md in twitter_ebooks-2.2.7
- old
+ new
@@ -1,6 +1,6 @@
-# twitter\_ebooks 2.2.6
+# twitter\_ebooks 2.2.7
Rewrite of my twitter\_ebooks code. While the original was solely a tweeting Markov generator, this framework helps you build any kind of interactive twitterbot which responds to mentions/DMs. See [ebooks\_example](https://github.com/mispy/ebooks_example) for an example of a full bot.
## Installation
@@ -48,9 +48,10 @@
bot.scheduler.every '24h' do
# Tweet something every 24 hours
# See https://github.com/jmettraux/rufus-scheduler
# bot.tweet("hi")
+ # bot.pictweet("hi", "cuteselfie.jpg", ":possibly_sensitive => true")
end
end
```
Bots defined like this can be spawned by executing `run.rb` in the same directory, and will operate together in a single eventmachine loop. The easiest way to run bots in a semi-permanent fashion is with [Heroku](https://www.heroku.com); just make an app, push the bot repository to it, enable a worker process in the web interface and it ought to chug along merrily forever.