增加3.3部分图鉴

This commit is contained in:
CMHopeSunshine 2022-11-22 12:09:10 +08:00
parent 690e66d2e9
commit f977edbfdf

View File

@ -46,7 +46,7 @@ class PluginManager:
group_list = await get_bot().get_group_list()
user_list = await get_bot().get_friend_list()
for plugin in plugin_list:
if plugin.name not in HIDDEN_PLUGINS and PluginPermission.default_connection is not None:
if plugin.name not in HIDDEN_PLUGINS and PluginPermission._meta.default_connection is not None:
if group_list:
for group in group_list:
count = await PluginPermission.filter(