From 5d141a9a4daf0f57d25e15202e097fe2f8037b98 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 28 Apr 2025 11:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E6=94=BE=E5=85=A5=E5=BA=93=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/robot.py b/robot.py index b4dc4f4..863d0d6 100644 --- a/robot.py +++ b/robot.py @@ -217,13 +217,13 @@ class Robot(Job): # plugin_processed = True # # # 群聊消息处理 - 无论插件是否处理过,都执行数据存储 - # if msg.from_group(): - # # 调用统计逻辑进行聊天数据统计: - # try: - # self.message_storage.process_message(msg) - # except Exception as e: - # self.LOG.error(f"process_message error: {e}") - # + if msg.from_group(): + # 调用统计逻辑进行聊天数据统计: + try: + self.message_storage.process_message(msg) + except Exception as e: + self.LOG.error(f"process_message error: {e}") + # # 聊天记录入库动作: # try: # self.message_storage.archive_message(msg)