mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +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}
|
module2count = {x[0]: x[1] for x in data_list}
|
||||||
plugin_info = await PluginInfo.filter(
|
plugin_info = await PluginInfo.filter(
|
||||||
module__in=module2count.keys(),
|
module__in=module2count.keys(),
|
||||||
|
load_status=True,
|
||||||
plugin_type=PluginType.NORMAL,
|
plugin_type=PluginType.NORMAL,
|
||||||
).all()
|
).all()
|
||||||
x_index = []
|
x_index = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user