modified: src/plugins/chat/utils.py

This commit is contained in:
Bakadax
2025-04-21 20:36:38 +08:00
parent 94b1b3c0e6
commit ce1247f2fd

View File

@@ -76,7 +76,7 @@ def is_mentioned_bot_in_message(message: MessageRecv) -> tuple[bool, float]:
else:
if not is_mentioned:
# 判断是否被回复
if re.match("回复[\s\S]*?\((\d+)\)的消息,说:", message.processed_plain_text):
if re.match(f"回复[\s\S]*?\({global_config.BOT_QQ}\)的消息,说:", message.processed_plain_text):
is_mentioned = True
# 判断内容中是否被提及