1
0
mirror of https://gitlab.com/ddorn/tfjm-discord-bot.git synced 2025-07-09 10:10:20 +02:00

🐛 fix roles on the server

This commit is contained in:
ddorn
2020-04-28 18:34:46 +02:00
parent 717f094c16
commit ad2fcf6828
3 changed files with 77 additions and 6 deletions

View File

@ -11,6 +11,7 @@ __all__ = [
"TEAMS_FILE",
"TEAMS_CHANNEL_CATEGORY",
"DIEGO",
"TOURNOIS",
]
TOKEN = os.environ.get("TFJM_DISCORD_TOKEN")
@ -27,11 +28,24 @@ if TOKEN is None:
GUILD = "690934836696973404"
DIEGO = "Diego" # Mon display name
TOURNOIS = [
"Lille",
"Lyon",
"Paris-Saclay",
"Avignon",
"Paris-Est",
"Tours",
"Bordeaux",
"Nancy",
"Rennes",
]
class Role:
CNO = "CNO"
DEV = "dev"
ORGA = "Orga"
ORGAS = tuple(f"Orga {t}" for t in TOURNOIS)
BENEVOLE = "Bénévole"
CAPTAIN = "Capitaine"
PARTICIPANT = "Participant"