feat: 转发着色
This commit is contained in:
1 parent
1c2aa3bcef
commit
7e09c3e3f4
1 file changed
+3
@@ -66,6 +66,9 @@ export async function logMessage(ob11Message: OB11Message) {
|
|||||||
else if (segment.type === 'video') {
|
else if (segment.type === 'video') {
|
||||||
msgParts.push(spSegColor(`[视频|${segment.data.url}]`));
|
msgParts.push(spSegColor(`[视频|${segment.data.url}]`));
|
||||||
}
|
}
|
||||||
|
else if (segment.type === 'forward') {
|
||||||
|
msgParts.push(spSegColor(`[转发|${JSON.stringify(segment.data.id)}]`));
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
msgParts.push(spSegColor(`[未实现|${JSON.stringify(segment)}]`));
|
msgParts.push(spSegColor(`[未实现|${JSON.stringify(segment)}]`));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user