From 45a6777855b2f4cbb4c1ea80d278760651c9a47b Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Sun, 11 Dec 2022 12:51:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D`=E7=BE=A4?= =?UTF-8?q?=E8=81=8A=E5=AD=A6=E4=B9=A0`=E5=B1=8F=E8=94=BD=E4=BA=BA?= =?UTF-8?q?=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LittlePaimon/plugins/Learning_Chat/handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/LittlePaimon/plugins/Learning_Chat/handler.py b/LittlePaimon/plugins/Learning_Chat/handler.py index 9914ee8..d00515f 100644 --- a/LittlePaimon/plugins/Learning_Chat/handler.py +++ b/LittlePaimon/plugins/Learning_Chat/handler.py @@ -79,6 +79,7 @@ class LearningChat: elif self.data.user_id in self.ban_users: # 发言人在屏蔽列表中,跳过 logger.debug('群聊学习', f'➤发言人{self.data.user_id}在屏蔽列表中,跳过') + return Result.Pass elif self.to_me and any(w in self.data.message for w in {'不可以', '达咩', '不能说这'}): # 如果是对某句话进行禁言 return Result.Ban