mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
feat: 转发着色
This commit is contained in:
@@ -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