fix:全面移除reply_to,并且非必须

This commit is contained in:
SengokuCola
2025-08-11 20:25:13 +08:00
parent 5299a6e628
commit bad2be2bdc
8 changed files with 66 additions and 95 deletions

View File

@@ -392,8 +392,7 @@ class HeartFChatting:
if self.chat_stream.group_info and getattr(self.chat_stream.group_info, "group_id", None):
await self.group_relationship_manager.build_relation(
chat_id=self.stream_id,
platform=self.chat_stream.platform,
group_number=self.chat_stream.group_info.group_id
platform=self.chat_stream.platform
)
@@ -712,7 +711,7 @@ class HeartFChatting:
await send_api.text_to_stream(
text=data,
stream_id=self.chat_stream.stream_id,
reply_to_message = message_data,
reply_message = message_data,
set_reply=need_reply,
typing=False,
)
@@ -721,7 +720,7 @@ class HeartFChatting:
await send_api.text_to_stream(
text=data,
stream_id=self.chat_stream.stream_id,
reply_to_message = message_data,
reply_message = message_data,
set_reply=False,
typing=True,
)

View File

@@ -48,7 +48,6 @@ def init_prompt() -> None:
例如:
"对某件事表示十分惊叹,有些意外"时,使用"我嘞个xxxx"
"表示讽刺的赞同,不想讲道理"时,使用"对对对"
"表达观点较复杂"时,使用"使用省略主语(3-6个字)"的句法
"想说明某个具体的事实观点,但懒得明说,或者不便明说,或表达一种默契",使用"懂的都懂"
"当涉及游戏相关时,表示意外的夸赞,略带戏谑意味"时,使用"这么强!"