mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-10-30 22:13:52 +01:00 
			
		
		
		
	I'm just a clown, I didn't update...
This commit is contained in:
		
							
								
								
									
										5
									
								
								V6.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								V6.py
									
									
									
									
									
								
							| @@ -756,20 +756,15 @@ def log_error(msg): | ||||
|  | ||||
|  | ||||
| def check_updated(): | ||||
|     warning('foo') | ||||
|     debug(f"updated: {config.has_been_updated()}") | ||||
|     warning('bar') | ||||
|     if config.has_been_updated(): | ||||
|         warning('baz') | ||||
|         config.discord.wh.send(f"Updated to {config.version}", username="update", | ||||
|                                avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png") | ||||
|  | ||||
|  | ||||
| if __name__ == "__main__": | ||||
|     config = Config(args) | ||||
|     warning('here') | ||||
|     check_updated() | ||||
|     warning('there') | ||||
|     match config.start: | ||||
|         case "json": | ||||
|             json_start(config.json_entry, config.UserCredentials) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user