Skip to content

Assigns roles to Discord server members based on tournament registration

License

Notifications You must be signed in to change notification settings

lunar-phase/bracket-role-assign

Repository files navigation

bracket-role-assign

For those running onilne tournaments, this is a script that assigns roles to Discord server members based on (smashgg, for now) tournament registration. It will also give nicknames to server members if their Discord usernames don't match their smashgg gamertags.

What you'll need:

Getting Started

  1. Create a credentials.json file with these tokens. Use credentials.example.json as a reference.

  2. Create a config.json file that contains your Discord server ID, and a mapping from Discord role ID to either smash.gg game ID or the game name. Use config.example.json as a reference.

  3. npm ci

  4. npm start -- [smashgg tournament slug]

About

Assigns roles to Discord server members based on tournament registration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published