This commit is contained in:
SengokuCola
2025-07-16 00:22:07 +08:00
parent 037f0c5216
commit d67cffd953
6 changed files with 12 additions and 14 deletions

View File

@@ -252,7 +252,7 @@ def _build_readable_messages_internal(
pic_id_mapping: Optional[Dict[str, str]] = None,
pic_counter: int = 1,
show_pic: bool = True,
message_id_list: List[Dict[str, Any]] = [],
message_id_list: List[Dict[str, Any]] = None,
) -> Tuple[str, List[Tuple[float, str, str]], Dict[str, str], int]:
"""
内部辅助函数,构建可读消息字符串和原始消息详情列表。
@@ -697,7 +697,7 @@ def build_readable_messages(
truncate: bool = False,
show_actions: bool = False,
show_pic: bool = True,
message_id_list: List[Dict[str, Any]] = [],
message_id_list: List[Dict[str, Any]] = None,
) -> str: # sourcery skip: extract-method
"""
将消息列表转换为可读的文本格式。