From 66294100ec50ed7fb97552fc28c93efcdd285bd7 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Wed, 3 Jan 2024 16:26:58 +0800 Subject: [PATCH] fix: typo fix --- 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 0abab0076..311c0a1e9 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().startwith(nick): + if nick != '' and message.message[0].text.strip().startswith(nick): resp = True break