Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.33 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.33 KB

Tournie Challonge bot Build Status

Tournie, the Challonge bot for Slack. Hosted as an AWS Lambda.

Features

  • Listing open tournaments for configured Challonge organization.
  • Connecting Slack user with Challonge member by "logging in". Suggestions from previous tournaments by configured Challonge organization.
  • Signing up for open tournaments.
  • Listing next matches for user, for tournaments s/he is part of.

See the Primer wiki page regarding future development.

Installation

  1. Set up AWS credentials, with a profile called "claudia". (You can use aws-credentials.example as a template by copying it to ~/.aws/credentials and filling in your accesss id and key.) See Claudia set-up instructions regarding what policies the user needs to have.

  2. Copy challonge.json.example to challonge.json and enter Challonge organization sub-domain and Challonge user API key.

  3. Create Slack app.

  4. Set up and deploy bot the first time to AWS:

    npm run setup
    

Re-deploy / update

To update the bot:

npm run update

License

Licenced under the MIT License.