Home

Awesome

DEPRECATED

This repo was never meant to be public, I just happened to throw code together in a span of a day to have something fun. Unfortunately, the code quality is terrible and not fit for open source contributions.

I highly recommend checking out one of these alternatives:

Open source alternatives

Hosted alternatives

Pongbot

Slack Bot for Ping Pong tracking.

Build Status

Deploy to Heroku

Installation

Deploy with your preferred solution, eg. with Heroku.

Administrative commands require the ADMIN_SECRET environment to be set.

heroku config:add ADMIN_SECRET=secret

Visit https://yourteamname.slack.com/services/new and choose "Outgoing WebHooks." Choose which channels you would like pongbot active in, a trigger word with pongbot, and the url that you deployed to.

Using Pongbot from Slack

Make sure you're registered with pongbot.

pongbot register

Challenge someone, or a team.

Singles:

pongbot challenge singles <opponent's name>

Doubles:

pongbot challenge doubles <teammate's name> against <opponent_1> <opponent_2>

Let them run this, to accept the challenge. Only one other person (teammate or opponent) needs to accept to confirm the challenge.

pongbot accept

If you can't play now, pongbot decline.

Game On!

Record the match. Only the person/team that lost can record, it'll automatically change everyone's scores/rankings.

pongbot lost

Other Commands

API

See API Documentation.

License & Copyright

Copyright (c) 2014-2015, Andrew Vy and Contributors

ISC License, see LICENSE for details.