Skip to content

A curvefever signup and match making bot for your chat channel

License

Notifications You must be signed in to change notification settings

clux/curvefever-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A curvefever signup and match making bot for your chat channel

Resources

License

Stars

Watchers

Forks

Packages

No packages published