fix:配置名错误

This commit is contained in:
SengokuCola
2026-05-02 18:47:36 +08:00
parent 6c21f57d8d
commit 6326019390
2 changed files with 2 additions and 2 deletions

View File

@@ -223,7 +223,7 @@ def is_mentioned_bot_in_message(message: SessionMessage) -> tuple[bool, bool, fl
break
# 7) 概率设置
if is_at and getattr(global_config.chat, "at_bot_inevitable_reply", 1):
if is_at and getattr(global_config.chat, "inevitable_at_reply", 1):
reply_probability = 1.0
logger.debug("被@回复概率设置为100%")
elif is_mentioned and getattr(global_config.chat, "mentioned_bot_reply", 1):

View File

@@ -481,7 +481,7 @@ class MaisakaHeartFlowChatting:
should_force_reply = (
reply_probability_boost >= 1.0
or (message.is_at and global_config.chat.at_bot_inevitable_reply)
or (message.is_at and global_config.chat.inevitable_at_reply)
or (message.is_mentioned and global_config.chat.mentioned_bot_reply)
)
if not should_force_reply or (not message.is_at and not message.is_mentioned):