Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An IRC bot with a RESTful HTTP interface, built on Ruby and EventMachine.
Ruby HTML CSS Shell
Branch: master
Pull request Compare This branch is 426 commits ahead, 6 commits behind pda:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
babushka-deps
bin
lib DecisionMaker: eliminate duplicates from choices.
script
spec
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
example.json
irc_machine.gemspec

README.md

Agent99

99designs helpful IRC bot, built on top of IRC Machine, in turn on Ruby and EventMachine.

Plugins

Plugins are objects which respond to #receive_line, and would will receive a reference to the IrcMachine::Session when instantiated. It should use that reference to send IRC commands.

Plugins may also implement the RESTful HTTP API by creating routes. The pattern for this would look something like:

def initialize(*args)
  route(:get, "/endpoint", :endpoint)
  super
end

def endpoint(request, match)
  ok request.body.read
end

Configuration

You should copy example.json to irc_machine.json, or set IRC_MACHINE_CONF to the name of the config file.

Plugins are enabled by their class name specified in the plugins array, everything under irc_machine/plugin will be loaded at boot time, however.

Default Plugins

We ship agent99 with a small collection of useful plugins for integrating with the services with use- Github, JuiCI, Jenkins and the like.

We also ship a collection of totally unuseful plugins, for generating memes, using Google's images search or yelling Yarr

Contributors

irc_machine originally by:

Meh.

agent99 is: © 99designs, 2012, MIT license

All source code from irc_machine is: © Paul Annesley, 2011, MIT license

Something went wrong with that request. Please try again.