feat: 转发着色

This commit is contained in:
手瓜一十雪 2024-08-06 11:40:36 +08:00
parent ef8e60c405
commit 1a1acdc3c9

View File

@ -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)}]`));
}