mirror of
				https://github.com/LiteyukiStudio/LiteyukiBot.git
				synced 2025-10-31 11:26:23 +00:00 
			
		
		
		
	⚡ 添加进程及生命周期管理器,添加轻雪框架支持
This commit is contained in:
		| @@ -23,7 +23,7 @@ liteyuki = get_bot() | ||||
| @liteyuki.on_after_start | ||||
| def _(): | ||||
|     temp_data = common_db.where_one(TempConfig(), default=TempConfig()) | ||||
|     # 储存重启信息 | ||||
|     # 储存重启计时信息 | ||||
|     if temp_data.data.get("reload", False): | ||||
|         delta_time = time.time() - temp_data.data.get("reload_time", 0) | ||||
|         temp_data.data["delta_time"] = delta_time | ||||
|   | ||||
		Reference in New Issue
	
	Block a user