auto-schedule-pro-v2: update easter egg for semester 7
This commit is contained in:
		
							parent
							
								
									c0a4474d26
								
							
						
					
					
						commit
						cb3bf7c14f
					
				@ -403,7 +403,7 @@ def process(message, path):
 | 
			
		||||
 | 
			
		||||
    if base_command in ["!пара", "!para"]:
 | 
			
		||||
        # easter egg
 | 
			
		||||
        study_begin_ts = int(datetime(year=2024, month=9, day=2).strftime("%s"))
 | 
			
		||||
        study_begin_ts = int(datetime(year=2025, month=9, day=1).strftime("%s"))
 | 
			
		||||
        current_ts = int(datetime.now().strftime("%s"))
 | 
			
		||||
 | 
			
		||||
        until_study_day = study_begin_ts - current_ts
 | 
			
		||||
@ -414,7 +414,7 @@ def process(message, path):
 | 
			
		||||
            return f"До навчання залишилося {until_study_day} секунд..." \
 | 
			
		||||
                   f" ({round(until_study_day/3600, 4)} годин," \
 | 
			
		||||
                   f" {round(until_study_day/3600/24, 4)} діб)", None
 | 
			
		||||
        elif until_study_day >= 3600*24*14:
 | 
			
		||||
        elif until_study_day >= 3600*24*28:
 | 
			
		||||
            return "Ви маєте законне право відпочити, пари почнуться не скоро", None
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user