Netherworld's Pretend Minibar
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    curvefever-botpublic

    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.

    install

    npm i curvefever-bot

    Downloadsweekly downloads

    28

    version

    0.1.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar