mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix unknown msg data type
This commit is contained in:
parent
31234d54f5
commit
2d71422dd0
@ -108,7 +108,8 @@ async function forwardMessage(message: MessageElement) {
|
||||
}
|
||||
for (let element of message.raw.elements) {
|
||||
let message_data: any = {
|
||||
data: {"type": "unknown"}
|
||||
data: {},
|
||||
type: "unknown"
|
||||
}
|
||||
|
||||
if (element.textElement?.atType == 2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user