From 1ca00d8187ea23a8d8fc9844794637e139c10cc1 Mon Sep 17 00:00:00 2001 From: Bakadax Date: Sun, 6 Apr 2025 14:37:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/chat_module/reasoning_chat/reasoning_chat.py | 2 +- src/plugins/chat_module/think_flow_chat/think_flow_chat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/chat_module/reasoning_chat/reasoning_chat.py b/src/plugins/chat_module/reasoning_chat/reasoning_chat.py index ad6aa1615..164117b96 100644 --- a/src/plugins/chat_module/reasoning_chat/reasoning_chat.py +++ b/src/plugins/chat_module/reasoning_chat/reasoning_chat.py @@ -190,7 +190,7 @@ class ReasoningChat: reply_probability = 0 is_at = False is_mentioned = False - if f"@{global_config.BOT_NICKNAME}({global_config.BOT_QQ})" in message.processed_plain_text: + if f"@{global_config.BOT_NICKNAME}(id:{global_config.BOT_QQ})" in message.processed_plain_text: is_at = True is_mentioned = True diff --git a/src/plugins/chat_module/think_flow_chat/think_flow_chat.py b/src/plugins/chat_module/think_flow_chat/think_flow_chat.py index 337b30c04..de523f32a 100644 --- a/src/plugins/chat_module/think_flow_chat/think_flow_chat.py +++ b/src/plugins/chat_module/think_flow_chat/think_flow_chat.py @@ -215,7 +215,7 @@ class ThinkFlowChat: reply_probability = 0 is_at = False is_mentioned = False - if f"@{global_config.BOT_NICKNAME}({global_config.BOT_QQ})" in message.processed_plain_text: + if f"@{global_config.BOT_NICKNAME}(id:{global_config.BOT_QQ})" in message.processed_plain_text: is_at = True is_mentioned = True