From f977edbfdfec4f72ff1e5cc4a3fc7ec38f477b4a Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Tue, 22 Nov 2022 12:09:10 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E5=A2=9E=E5=8A=A03.3=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=9B=BE=E9=89=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LittlePaimon/config/plugin/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LittlePaimon/config/plugin/manage.py b/LittlePaimon/config/plugin/manage.py index c53c6ff..fb5580b 100644 --- a/LittlePaimon/config/plugin/manage.py +++ b/LittlePaimon/config/plugin/manage.py @@ -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(