From 7b5d47a2ca2c5169dabdb0ed58ec8b375d442058 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Tue, 27 Dec 2022 23:01:04 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=9B=9E=E5=A4=8D=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=97=B6=E6=8E=A7=E5=88=B6=E5=8F=B0=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/qqbot/process.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/qqbot/process.py b/pkg/qqbot/process.py index 7b09b85..5e9a582 100644 --- a/pkg/qqbot/process.py +++ b/pkg/qqbot/process.py @@ -188,6 +188,8 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str) -> "回复[{}]文字消息:{}".format(session_name, reply[0][:min(100, len(reply[0]))] + ("..." if len(reply[0]) > 100 else ""))) reply = [mgr.reply_filter.process(reply[0])] + else: + logging.info("回复[{}]图片消息:{}".format(session_name, reply)) finally: processing.remove(session_name)