A curvefever signup and match making bot for your chat channel
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bot
test
.curvebot.json
.gitignore
.travis.yml
LICENSE
README.md
curve-gu.js
irc.js
package.json

README.md

curvefever-bot

npm status build status dependency status coverage status unstable

Curvefever-bot is a bot interface for the curvefever-stats package. You can hook this up to irc-stream (say), and use it to sign up to games on IRC, as well as having it auto-generate fair teams for you, provided you have associated the player IRC nicknames with their curvefever nicknames.

Usage

The library exposes a gu instance that you can create by just passing in the missing gu options. Then pipe your transports into it:

var curveBot = require('curvefever-bot').gu();
var ircStream = require('irc-stream')(ircServer, ircName, ircOpts);

ircStream.pipe(curveBot).pipe(ircStream);

Alternatively, change the config file directly and run npm start for IRC mode.

Commands

On IRC type curve help for help.

TODO

When there are other transport streams available, implement bin files for them.

License

MIT-Licensed. See LICENSE file for details.