From 200f3cce0020c77f74cf3ef340fc56c8d28ab032 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:34:52 +0000 Subject: [PATCH] fix: bugfixes --- model/platform/qq.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/model/platform/qq.py b/model/platform/qq.py index 72b0f011a..05eb6c74d 100644 --- a/model/platform/qq.py +++ b/model/platform/qq.py @@ -63,6 +63,8 @@ class QQ: news.append(i) p = gu.create_text_image("", "".join(plains)) res = [Image.fromFileSystem(p), news] + + print(str(res)) # 回复消息链 @@ -82,7 +84,7 @@ class QQ: plain_text_len += len(i.text) elif isinstance(i, Image): image_num += 1 - if plain_text_len > self.cc.get('qq_forward_threshold', 200) or image_num > 1: + if plain_text_len > self.cc.get('qq_forward_threshold', 200): # 删除At for i in res: if isinstance(i, At):