From 4b47b170400d1c83ca4345c6e02477d85ffb057b Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 17 Feb 2025 14:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=A2=AB=E6=8B=A6=E6=88=AA?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot.py b/robot.py index 4d909e0..0a45bc9 100644 --- a/robot.py +++ b/robot.py @@ -138,7 +138,7 @@ class Robot(Job): if msg.from_group(): if q == '撤回': self.revoke_messages(msg.roomid) - return True + return True if not self.chat: # 没接 ChatGPT,固定回复 rsp = "你@我干嘛?" else: # 接了 ChatGPT,智能回复