From 89c8b3e7fc9cd20b5309139a20a05382f4d689bf Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Wed, 3 Jan 2024 16:32:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20gocq=20=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=8B=20at=20=E6=9C=BA=E5=99=A8=E4=BA=BA=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/platform/qq_gocq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/platform/qq_gocq.py b/model/platform/qq_gocq.py index 311c0a1e9..01b76106d 100644 --- a/model/platform/qq_gocq.py +++ b/model/platform/qq_gocq.py @@ -125,7 +125,7 @@ class QQGOCQ(Platform): resp = True elif isinstance(i, Plain): for nick in self.nick_qq: - if nick != '' and message.message[0].text.strip().startswith(nick): + if nick != '' and i.text.strip().startswith(nick): resp = True break