Angry Creative Table Tennis Ladder BOT! Named after the best table tennis player of all time, Jan-Ove Waldner AKA Kungen(the king)
- Create a new Slack integration
- Copy .env.sample to .env
- Set
TOKENyou get from your Slack integration
- Set
- Run
npm install
Start bot
npm start - this expects that the project has been built
When developing, and debugging - use npm run dev
npm run build
Install Forever if it's not already installed:
sudo npm install forever -g
forever start build/index.js (You need to install and build first)
forever stop build/index.js
###Commands:
All commands is prefixed with the Specified bot name. We will use the default 'waldner' in the examples
waldner ladder Shows ladder
waldner @firstUser @secondUser score1 score2 [score3 score4, ...]
Stores a game. One player must at least have 11 points, and the users can't have the same points.
Any number of sets separated by a space
Example: waldner @peter @johan 11-5 11-13 15-13
waldner games Shows the last 5 games
waldner stats [@user] Shows stats for user.
waldner Shows a random actual Waldner quote.
- Translate and localize all strings
- Require confirmation from other player
- Support authentication for accessing API (Token or basic auth?)