🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-06-14 11:21:15 +00:00
parent 790642afd6
commit e744de2178
3 changed files with 7 additions and 3 deletions

View File

@@ -114,7 +114,9 @@ class MessageAPI:
) )
# 发送消息 # 发送消息
sent_msg = await heart_fc_sender.send_message(bot_message, has_thinking=False, typing=typing, set_reply=False) sent_msg = await heart_fc_sender.send_message(
bot_message, has_thinking=False, typing=typing, set_reply=False
)
if sent_msg: if sent_msg:
logger.info(f"{getattr(self, 'log_prefix', '')} 成功发送消息到 {platform}:{target_id}") logger.info(f"{getattr(self, 'log_prefix', '')} 成功发送消息到 {platform}:{target_id}")

View File

@@ -80,7 +80,9 @@ class BaseCommand(ABC):
text=content, user_id=str(chat_stream.user_info.user_id), platform=chat_stream.platform text=content, user_id=str(chat_stream.user_info.user_id), platform=chat_stream.platform
) )
async def send_type(self, message_type: str, content: str, display_message: str = None, typing: bool = False) -> bool: async def send_type(
self, message_type: str, content: str, display_message: str = None, typing: bool = False
) -> bool:
"""发送指定类型的回复消息到当前聊天环境 """发送指定类型的回复消息到当前聊天环境
Args: Args: