diff --git a/src/onebot11/log.ts b/src/onebot11/log.ts index d92c0f53..c6a9704f 100644 --- a/src/onebot11/log.ts +++ b/src/onebot11/log.ts @@ -66,6 +66,9 @@ export async function logMessage(ob11Message: OB11Message) { else if (segment.type === 'video') { msgParts.push(spSegColor(`[视频|${segment.data.url}]`)); } + else if (segment.type === 'forward') { + msgParts.push(spSegColor(`[转发|${JSON.stringify(segment.data.id)}]`)); + } else { msgParts.push(spSegColor(`[未实现|${JSON.stringify(segment)}]`)); }