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
ec24bdf64f
commit
8aa719cce7
@ -47,7 +47,9 @@ class HelpImageBuild:
|
|||||||
"""
|
"""
|
||||||
if not self._data:
|
if not self._data:
|
||||||
self._data = await PluginInfo.filter(
|
self._data = await PluginInfo.filter(
|
||||||
plugin_type=PluginType.NORMAL, load_status=True
|
menu_type__not_isnull=True,
|
||||||
|
load_status=True,
|
||||||
|
plugin_type__in=[PluginType.NORMAL, PluginType.HIDDEN],
|
||||||
)
|
)
|
||||||
if not self._sort_data:
|
if not self._sort_data:
|
||||||
for plugin in self._data:
|
for plugin in self._data:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user