mirror of https://github.com/Mai-with-u/MaiBot.git
我嘞个中文括号
parent
2dd44ec69c
commit
20fe2262df
|
|
@ -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}({global_config.BOT_QQ})" in message.processed_plain_text:
|
||||
is_at = True
|
||||
is_mentioned = True
|
||||
|
||||
|
|
|
|||
|
|
@ -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}({global_config.BOT_QQ})" in message.processed_plain_text:
|
||||
is_at = True
|
||||
is_mentioned = True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue