mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 04:11:08 -05:00
Add gem badge
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# twitter\_ebooks 2.3.2
|
||||
|
||||
[](http://badge.fury.io/rb/twitter_ebooks)
|
||||
|
||||
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
|
||||
@@ -25,7 +27,7 @@ Ebooks::Bot.new("abby_ebooks") do |bot|
|
||||
bot.consumer_secret = "" # Your app consumer secret
|
||||
bot.oauth_token = "" # Token connecting the app to this account
|
||||
bot.oauth_token_secret = "" # Secret connecting the app to this account
|
||||
|
||||
|
||||
bot.on_startup do
|
||||
# Run some startup task
|
||||
# puts "I'm ready!"
|
||||
|
||||
Reference in New Issue
Block a user