refactor: 调整日志输出格式

This commit is contained in:
sliverp
2026-02-06 18:01:30 +08:00
parent 8ccb231fda
commit a62df11bc7

View File

@@ -401,7 +401,7 @@ export async function startGateway(ctx: GatewayContext): Promise<void> {
groupOpenid?: string;
attachments?: Array<{ content_type: string; url: string; filename?: string }>;
}) => {
log?.info(`[qqbot:${account.accountId}] Processing message from ${event.senderId}: ${event.content}`);
log?.info(`[qqbot:${account.accountId}] Received Event: ${event}`);
if (event.attachments?.length) {
log?.info(`[qqbot:${account.accountId}] Attachments: ${event.attachments.length}`);
}