curvefever-bot

0.1.0 • Public • Published

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.

Dependents (0)

Package Sidebar

Install

npm i curvefever-bot

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • clux