mirror of
				https://github.com/LiteyukiStudio/LiteyukiBot.git
				synced 2025-11-03 23:26:23 +00:00 
			
		
		
		
	📝 NapCat.Onebot 显示头像
This commit is contained in:
		@@ -170,7 +170,7 @@ async def get_bots_data(self_id: str = "0") -> dict:
 | 
			
		||||
 | 
			
		||||
        statistics = status.get("stat", {})
 | 
			
		||||
        app_name = version_info.get("app_name", "UnknownImplementation")
 | 
			
		||||
        if app_name in ["Lagrange.OneBot", "LLOneBot", "Shamrock"]:
 | 
			
		||||
        if app_name in ["Lagrange.OneBot", "LLOneBot", "Shamrock", "NapCat.Onebot"]:
 | 
			
		||||
            icon = f"https://q.qlogo.cn/g?b=qq&nk={bot_id}&s=640"
 | 
			
		||||
        elif isinstance(bot, satori.Bot):
 | 
			
		||||
            app_name = "Satori"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user