mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-10 14:20:04 +08:00
🎨 代码优化
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user