Skip to content

A bootstrapped IRC bot using Cinch. I write plugins so you don't have to.

Notifications You must be signed in to change notification settings

davidcelis/snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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']

About

A bootstrapped IRC bot using Cinch. I write plugins so you don't have to.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages