A Discord bot for running simulation robotics tournaments in xRC Sim. Designed to expedite and simplify the process of running tournaments, and to provide a better experience for competitors.
- Generates match schedules and player lists.
- Creates voice channels for each match and moves players into them.
- Saves match results from xRC Simulator games to a Google Sheet.
- Notifies players of upcoming matches and results via Discord.
To be used for competitions and tournaments in the Unity-based game xRC Simulator. Used in online SRC events.
Can be configured to be used with multiple games from xRC Simulator.
Powered by Discord.js and Google Sheets API. Based on the NicholasBottone/xRCSim-Tourney-Runner CLI tool.
- You must have a Discord bot application setup with a token.
- You must have a Google Sheet setup with an API Service Account.
- You must have a
.env
file in the root of the project, see.env.example
for an example. - Clone this repository and run
npm install
to install dependencies. Then runnpm run build
to build the project, andnpm start
to start the bot. - Use
npm run dev
to start the bot in development mode. Usenpm run lint
to lint the code.
For a detailed tutorial, click here to visit the wiki.
Feel free to create issues to report problems or suggestions. To make a code contribution, clone this repository then create a pull request.
This project is licensed under the GNU AGPLv3, meaning that as long as you provide attribution, you can do almost anything you want with this code, except distributing closed source versions.