Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A bootstrapped IRC bot using Cinch. I write plugins so you don't have to.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib Abstraction in the Info plugin isn't worth it.
.gitignore
Gemfile
Gemfile.lock
README.markdown

README.markdown

snap

Snap is an IRC bot written using cinchrb/cinch. This code powers a bot currently running in the #reddit-portland channel on irc.freenode.net. However, this repository is clonable and runnable using your own configuration options.

Requirements

  • Ruby
  • bundler
  • Redis

Usage

To run the bot:

Usage:
  bot start -n, --nick=NICK

Options:
  -n, --nick=NICK                 
  -s, [--server=SERVER]           
                                  # Default: irc.freenode.net
  -c, [--channels=\#freenode \#cinch-bots]  
  -u, [--username=USERNAME]       
  -p, [--password=PASSWORD]       
      [--redis-host=REDIS_HOST]   
                                  # Default: localhost
      [--redis-port=N]            
                                  # Default: 6379
  -d, [--daemonize]               

To stop a daemonized bot:

Usage:
  bot stop

Certain commands respond only to admins (such as !join, !part, and !say). To define your list of admins, create a file config/auth.yml:

admins: ['davidcelis', 'fredjones']
Something went wrong with that request. Please try again.