fix: npm对插件无法启用的bug

feat: 资源包的管理器
This commit is contained in:
2024-04-07 00:35:53 +08:00
parent 72742d805c
commit 9743868cce
15 changed files with 540 additions and 288 deletions

View File

@ -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