mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
🐛 功能调用统计只统计已加载的插件
This commit is contained in:
parent
f982d862ee
commit
3856ba09bb
@ -124,6 +124,7 @@ class StatisticsManage:
|
||||
module2count = {x[0]: x[1] for x in data_list}
|
||||
plugin_info = await PluginInfo.filter(
|
||||
module__in=module2count.keys(),
|
||||
load_status=True,
|
||||
plugin_type=PluginType.NORMAL,
|
||||
).all()
|
||||
x_index = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user