1
0
mirror of https://gitlab.com/ddorn/tfjm-discord-bot.git synced 2025-07-08 23:30:21 +02:00

♻️ roles are now an enum

This commit is contained in:
ddorn
2020-04-27 12:35:02 +02:00
parent 11aa877f2a
commit 7f3c81cd81
3 changed files with 20 additions and 21 deletions

View File

@ -3,11 +3,7 @@ from pathlib import Path
__all__ = [
"TOKEN",
"ORGA_ROLE",
"CNO_ROLE",
"DEV_ROLE",
"BENEVOLE_ROLE",
"CAPTAIN_ROLE",
"Role",
"PROBLEMS",
"MAX_REFUSE",
"ROUND_NAMES",
@ -26,11 +22,15 @@ if TOKEN is None:
quit(1)
GUILD = "690934836696973404"
ORGA_ROLE = "Orga"
CNO_ROLE = "CNO"
BENEVOLE_ROLE = "Bénévole"
CAPTAIN_ROLE = "Capitaine"
DEV_ROLE = "dev"
class Role:
CNO = "CNO"
DEV = "dev"
ORGA = "Orga"
BENEVOLE = "Bénévole"
CAPTAIN = "Capitaine"
with open("problems") as f:
PROBLEMS = f.read().splitlines()