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