fix: 修复 gocq 环境下 at 机器人报错的问题
This commit is contained in:
1 parent
66294100ec
commit
89c8b3e7fc
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user