Skip to content

wltu/TournamentBot

Repository files navigation

TournamentBot

Discord TournamentBot for setting up tournament in your own server.

Python Windows Python Mac Python Linux

The TournamentBot support basic music commands to join voice channel and play music from YouTube. The main functionility is to orgainize and host tournament within your discord server.

Main Commands

The defuld command prefix is ! and are currently fixed.

end      End the current tournament and remove all the tournament voice 
         chanels.
history  Show your match history for current/most recent tournament.
matches  Show all ongoing matches in current tournament.
opponent Show the opponents for your next match. 
rank     Show your tournament rank along with overall ranks in the current
         tournament.
report   Report your match result for current tournament.
setup    Setup tournament.
signup   Signup for current tournament.
start    Start current tournament!
update   Update match resutre for current tournament. tournament Oragnizer 
         only.

Supported Tournament Format

  • Single Elimination

Development

Depedencies

Get Stared

To start the discord bot follow the commands below:

// Linux
python3 -m pip install -U discord.py[voice]
python3 -m pip install --upgrade pip
python3 tournament_bot.py [TOKEN]

// Windows
py -m pip install -U discord.py[voice]
py -m pip install --upgrade pip
py tournament_bot.py [TOKEN]

Dockerfile

The dockerfile is availbe to build the docker image for the bot. By default the image will just run the pytest.

To start the discord bot follow the commands below:

docker run --rm [IMAGE] python3 tournament_bot.py [TOKEN]

Future Works

  • Code Restructure
  • Tournament Format
    • Double Elimination
    • Round Robin
    • Ladder
  • Chain Multiple Tournament Events

About

Discord TournamentBot for setting up tournament in your own server.

Topics

Resources

Stars

Watchers

Forks

Languages