mirror of
https://gitlab.com/ddorn/tfjm-discord-bot.git
synced 2024-12-25 16:22:21 +00:00
♻️🙈 move problems to data forlder
This commit is contained in:
parent
7f3c81cd81
commit
45a74e5a71
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
# Secrets
|
||||
.env
|
||||
data/teams
|
||||
|
||||
# Files from PyCharm
|
||||
.idea/
|
||||
|
@ -32,11 +32,11 @@ class Role:
|
||||
CAPTAIN = "Capitaine"
|
||||
|
||||
|
||||
with open("problems") as f:
|
||||
PROBLEMS = f.read().splitlines()
|
||||
MAX_REFUSE = len(PROBLEMS) - 5
|
||||
|
||||
ROUND_NAMES = ["premier tour", "deuxième tour"]
|
||||
|
||||
TOP_LEVEL_DIR = Path(__file__).parent.parent
|
||||
TIRAGES_FILE = TOP_LEVEL_DIR / "data" / "tirages.yaml"
|
||||
|
||||
with open(TOP_LEVEL_DIR / "data" / "problems") as f:
|
||||
PROBLEMS = f.read().splitlines()
|
||||
MAX_REFUSE = len(PROBLEMS) - 5
|
||||
|
Loading…
Reference in New Issue
Block a user