群戳一戳增加原始信息

群消息log增加视频解析
This commit is contained in:
Nepenthe committed 2024-07-20 14:51:50 +08:00
1 parent aaf7191bf3
commit a0cea819da
3 files changed
+10 -6

No files matched your search

+3
View File
@@ -63,6 +63,9 @@ export async function logMessage(ob11Message: OB11Message) {
else if (segment.type === 'markdown') {
msgParts.push(spSegColor(`[markdown|${segment.data.content}]`));
}
else if (segment.type === 'video') {
msgParts.push(spSegColor(`[视频|${segment.data.url}]`));
}
else {
msgParts.push(spSegColor(`[未实现|${JSON.stringify(segment)}]`));
}