mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
feat(satori): support for receiving llonebot:ark
element
This commit is contained in:
parent
31ad0195d8
commit
d43612b2a3
@ -129,6 +129,11 @@ async function decodeElement(ctx: Context, data: NT.RawMessage, quoted = false)
|
|||||||
type: String(faceType),
|
type: String(faceType),
|
||||||
platform: 'llonebot'
|
platform: 'llonebot'
|
||||||
}))
|
}))
|
||||||
|
} else if (v.arkElement) {
|
||||||
|
// llonebot:ark
|
||||||
|
buffer.push(h('llonebot:ark', {
|
||||||
|
data: v.arkElement.bytesData
|
||||||
|
}))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return buffer
|
return buffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user