Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nilsding/twittbot

An advanced Twitter bot.
https://github.com/nilsding/twittbot

bot bot-framework extensible ruby twittbot twitter twitter-bot

Last synced: 1 day ago
JSON representation

An advanced Twitter bot.

Awesome Lists containing this project

README

        

# Twittbot [![Gem Version](https://badge.fury.io/rb/twittbot.svg)](http://badge.fury.io/rb/twittbot) [![Inline docs](http://inch-ci.org/github/nilsding/twittbot.svg?branch=master)](http://inch-ci.org/github/nilsding/twittbot)

Twittbot is the next generation of my old Twitter bot, `twittbot-nd`.

## Installation

Installation is just as easy as installing the Rubygem:

$ gem install twittbot

## Usage

Create a new bot:

$ twittbot new bot-name
$ cd bot-name

Authorize with Twitter:

$ twittbot auth

Add yourself as a botadmin:

$ twittbot add-admin nilsding

Add a template, such as for a simple reply bot:

$ twittbot generate random-reply

`random-reply` is a template that accepts a configuration. You can configure
it by editing `./etc/random_reply.yml` with a text editor of your choice.
And, if you want to, you can also change its behaviour by editing
`./lib/random_reply.rb`.

To list available templates, try this:

$ twittbot list-templates

Finally, run the bot:

$ twittbot start