mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-29 23:29:51 +00:00
fix: npm对插件无法启用的bug
feat: 资源包的管理器
This commit is contained in:
@ -37,7 +37,8 @@ async def _(bot: T_Bot, event: T_MessageEvent):
|
||||
{
|
||||
"data": await get_stats_data(bot.self_id, ulang.lang_code)
|
||||
},
|
||||
debug=True
|
||||
debug=True,
|
||||
wait=1
|
||||
)
|
||||
await stats.finish(MessageSegment.image(image))
|
||||
|
||||
@ -233,10 +234,4 @@ async def get_stats_data(self_id: str = None, lang: str = None) -> dict:
|
||||
"total_trans": ulang.get("main.monitor.total"),
|
||||
}
|
||||
|
||||
# for ps_name, ps_mem in process_mem.items():
|
||||
# templ["memTags"].insert(
|
||||
# 0,
|
||||
# f"{ps_name} {convert_size(ps_mem, 1)}"
|
||||
# )
|
||||
|
||||
return templ
|
||||
|
Reference in New Issue
Block a user