feat(satori): support for receiving llonebot:ark element

This commit is contained in:
idranme 2024-10-13 20:21:57 +08:00
parent 31ad0195d8
commit d43612b2a3

View File

@ -129,6 +129,11 @@ async function decodeElement(ctx: Context, data: NT.RawMessage, quoted = false)
type: String(faceType),
platform: 'llonebot'
}))
} else if (v.arkElement) {
// llonebot:ark
buffer.push(h('llonebot:ark', {
data: v.arkElement.bytesData
}))
}
}
return buffer