Skip to content

pawlobanano/tournament-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tournament Discord Bot

A helper tool for tournaments management. With use of the Google Sheets as a database. Inspired by community Draft Cup started on a Discord channel for the game of Wolfenstein: Enemy Territory Legacy.

Screenshot examples

!cup edition 1 !cup team e !cup teams Google Sheets UI
!cup edition 1 command example !cup team e command example !cup teams command example Google Sheets example

Bot commands

!cup edition <number> | e <num>
!cup help | h
!cup playthrough | !cup p
!cup play quarterfinals | !cup play q | !cup p q
!cup team <letter> | t <let>
!cup teams | ts
!cupbot status | s

*All commands require an admin role and privately messaging the bot. List of admins is read from one of the Google Sheet cells.

Run bot

make run 

API Credentials

  • .env
  • key.json

Notes

  1. Discord API
  2. Discord Markdown formatting - examples
  3. Google Sheets API - setup example
  4. Go formatting - Google standard
  5. Go routing - research, examples, benchmarks
  6. Go ServerMux and Handlers
  7. Responsive Tournament Bracket - Codepen