mirror of https://github.com/Mai-with-u/MaiBot.git
modified: src/plugins/chat_module/think_flow_chat/think_flow_chat.py
parent
99e166a0fb
commit
81f9a99edd
|
|
@ -215,7 +215,7 @@ class ThinkFlowChat:
|
|||
reply_probability = 0
|
||||
is_at = False
|
||||
is_mentioned = False
|
||||
if re.match(f"@[\s\S]*?(id:{global_config.BOT_QQ})", message.processed_plain_text):
|
||||
if re.search(f"@[\s\S]*?(id:{global_config.BOT_QQ})", message.processed_plain_text):
|
||||
is_at = True
|
||||
is_mentioned = True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue