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

🚧 start team creation

This commit is contained in:
ddorn
2020-04-27 14:46:04 +02:00
parent 45a74e5a71
commit 415fb88f51
3 changed files with 68 additions and 0 deletions

View File

@ -8,6 +8,7 @@ __all__ = [
"MAX_REFUSE",
"ROUND_NAMES",
"TIRAGES_FILE",
"TEAMS_FILE",
]
TOKEN = os.environ.get("TFJM_DISCORD_TOKEN")
@ -36,6 +37,7 @@ ROUND_NAMES = ["premier tour", "deuxième tour"]
TOP_LEVEL_DIR = Path(__file__).parent.parent
TIRAGES_FILE = TOP_LEVEL_DIR / "data" / "tirages.yaml"
TEAMS_FILE = TOP_LEVEL_DIR / "data" / "teams"
with open(TOP_LEVEL_DIR / "data" / "problems") as f:
PROBLEMS = f.read().splitlines()