Skip to content

A bot to facilitate running tournaments entirely via discord

License

Notifications You must be signed in to change notification settings

perrycate/Automatic-TO

Repository files navigation

Half-finished code for a bot to run tournaments entirely through discord.

Installation

  1. Make sure you have a recent-ish version of Python 3 installed, and pip/pipenv. If you're using windows, install linux make sure you have WSL Installed and are running the commands from inside it.
  2. From the directory the code is located in, install dependencies by running:
pipenv install
  1. Get a copy of your Challonge API Key from here.

  2. Follow the instructions to create a discord bot here, and copy your bot's token.

  3. Start the bot with the following command:

DISCORD_BOT_TOKEN=<your token here> pipenv run ./main.py

Usage:

TODO. Speaking of which...

How to contribute

Contributions are very welcome and encouraged! Contributions can take many forms, such as contributing documentation, reporting or diagnosing bugs, and of course, code contributions.

You can see a list of known bugs and planned features in the issues tab. If you have any questions about the code, how to contribute, or anything else, feel free to contact Perry Cate via the contact information on his GitHub Profile.

Here is a summary of the relevant files in the codebase as it currently stands:

  • bracket.py: Contains the logic for managing a bracket.
  • d3thmatch.py: Contains sample code for interacting with the Challonge API. Otherwise irrelevant.
  • main.py: Sets up the bot and manages interactions with discord.
  • util.py: Contains some handy utility functions.

About

A bot to facilitate running tournaments entirely via discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published