This bot creates the channels and roles for a round robin quiz bowl tournament on Discord. It ensures that teams can only see text channels for games they will play in. Tournaments can be set up in minutes, saving tournament directors time in manually creating rooms and roles.
There are two options for running the bot on your sever: hosting it locally on your machine, or contacting the author and asking them for an invitation link to add his bot to your server.
If you decide to host it locally, then do the following:
If you want to use the author's version of the bot, then do the following:
The bot needs to have all of these permissions (give it a role), because it needs to grant readers these permissions:
(Optional) A server admin can add others as tournament directors for a tournament.
!addTD @my_user
The tournament director starts the setup phase with !setup. The bot will then ask the tournament director some questions (steps 3-5).
!setup
Add all of the readers based on their mentions.
@Reader1 @Reader2
Set the number of round robins to play with
3
Add all of the teams in the tournament
Team 1, Team 2, Team 3, Team 4
The bot will send out a message or two telling players which reaction to click to join their team.
Once every player has joined a team, the tournament director then start the tournament with !start.
!start
The bot will create the text and voice channels for everyone, and assign permissions for these rooms. It will tell you when this is completed.
If you need to rebracket, then the tournament director should use the !rebracket command. When the bot asks you for the teams, give them in the same way that they were initially, with teams in the same bracket belonging to the same line.
!rebracket
If you need to set up a finals room, then the tournament director should use the !finals command.
!finals @Reader Team1, Team2
To end the tournament, the tournament director uses !end
!end
Note: if your tournament has different brackets, then put each team in the same bracket on the same line during step 5. For example, if your tournament had two brackets, and teams X and Y were in one bracket and teams Alpha and Omega were in the other, send this:
X, Y
Alpha, Omega
Note: you can find all of the commands that the bot supports by direct messaging it this command
!help
To build the bot, download the .Net Core SDK (at least version 3.1), and then run
dotnet build