Skip to content

A Discord bot for running simulation robotics tournaments in xRC Sim, written in Discord.js.

License

Notifications You must be signed in to change notification settings

SecondRobotics/SimTourneyBot

Repository files navigation

Sim Tourney Bot

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.

Getting Started

  • 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 run npm run build to build the project, and npm start to start the bot.
  • Use npm run dev to start the bot in development mode. Use npm run lint to lint the code.

For a detailed tutorial, click here to visit the wiki.

Contributing to this project

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.

About

A Discord bot for running simulation robotics tournaments in xRC Sim, written in Discord.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published