Files
Bubberstation/tools/discordRoleScript
AffectedArc07 0315245729 Adds in discord auto-roling (#49374)
About The Pull Request

When a user successfully links their BYOND accounts and discord accounts, they will now be automatically roled, based on config settings.

NOTE: This does not update pre-linked accounts, but I can write an external bot to do that if needed

RUST-G has also been updated in this PR, to be inline with this PR over at RUST-G tgstation/rust-g#23

Why It's Good For The Game

People with linked accounts can now be given a specific role in the discord, which is good for verification.
Changelog

🆑 AffectedArc07
add: Linking your discord and BYOND accounts will now give you a role in the discord
/🆑
2020-02-20 22:37:14 +13:00
..

This is a script to role members in a discord if they have their ckey linked. It should only have to be ran once, since the game will handle any other new roles

Requirements:

  • Python 3 (Tested on 3.6.4)
  • Mysql-Connector module
  • Requests module

How to use:

  1. Ensure you have the correct dependencies installed
  2. Fill out the config sections in the script (Discord details and SS13 server details)
  3. Run the script, and leave it running until its done. It will give progress indicators as it runs