From d31533ed826b2b2f9d1ff1dd7283f962203b30bf Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:49:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DQQ=E5=B9=B3=E5=8F=B0@?= =?UTF-8?q?=E6=97=B6=E4=BD=BF=E7=94=A8=E4=B8=8D=E4=BA=86=E6=8C=87=E4=BB=A4?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cores/qqbot/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/qqbot/core.py b/cores/qqbot/core.py index 2204e80c1..443c36676 100644 --- a/cores/qqbot/core.py +++ b/cores/qqbot/core.py @@ -407,7 +407,7 @@ def oper_msg(message, at=False, msg_ref = None, platform = None): if isinstance(message.message[0], Plain): qq_msg = str(message.message[0].text) elif isinstance(message.message[0], At): - qq_msg = str(message.message[1].text) + qq_msg = str(message.message[1].text).strip() else: return session_id = message.group_id