From bce685b2e279b211dac917e5fcb716c396d19538 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 9 Jun 2025 15:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81auth=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/robot.py b/robot.py index 48e310d..fc0f52b 100644 --- a/robot.py +++ b/robot.py @@ -68,10 +68,6 @@ class Robot: self.allContacts = {} # 将在登录后填充 self.groups = {} # 存储按group_id分组的消息列表,每个group_id最多保留10条消息 - GroupBotManager.load_local_cache() - - # 权限模块加载 - self.gbm = GroupBotManager() # 初始化插件系统 self.LOG.info("开始初始化插件系统...") @@ -94,6 +90,10 @@ class Robot: # 加载插件 self.LOG.info("插件系统初始化完成") + + GroupBotManager.load_local_cache() + # 权限模块加载 + self.gbm = GroupBotManager() self.email_sender = EmailSender( smtp_server=self.config.email.get("smtp_server", "smtp.163.com"), smtp_port=self.config.email.get("smtp_port", 465),