mirror of
				https://gitlab.com/ddorn/tfjm-discord-bot.git
				synced 2025-11-04 03:42:12 +01:00 
			
		
		
		
	:recycle:🙈 move problems to data forlder
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user