feat:发布前更改

This commit is contained in:
SengokuCola
2025-09-22 00:49:21 +08:00
parent 64979332af
commit 6dfc4552a6
6 changed files with 11 additions and 43 deletions

View File

@@ -206,9 +206,10 @@ class HeartFChatting:
elif random.random() < global_config.chat.talk_value * frequency_control_manager.get_or_create_frequency_control(self.stream_id).get_talk_frequency_adjust():
await self._observe(recent_messages_list=recent_messages_list)
else:
# 没有提到继续保持沉默等待5秒防止频繁触发
await asyncio.sleep(5)
return True
else:
# Normal模式消息数量不足等待
await asyncio.sleep(0.2)
return True
return True