mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
feat: 转发着色
This commit is contained in:
parent
ef8e60c405
commit
1a1acdc3c9
@ -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)}]`));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user