Forward { -- 可省略括号
title = "群聊的聊天记录",
brief = "[聊天记录]",
source = "聊天记录",
preview = {
"消息概览1",
"消息概览2"
}, -- 可省略
summary = "查看 1 条转发消息" -- 可省略,
content = {
{
senderId = 123456789, -- 发送者 qq 号
time = 987654, -- 发送的时间戳
senderName = "发送者昵称1",
message = Message("消息1") .. Face(0) -- 显示的消息内容
},
{
senderId = 123456789,
time = 987654,
senderName = "发送者昵称2",
message = Message("消息2") .. Face(0) -- 显示的消息内容
},
}
}
2020-11-03 13:27:06 E/Bot 1654723334: An exception was thrown under a coroutine of Bot
org.luaj.vm2.LuaError: @aio.lua:339 attempt to call nil
2020-11-03 18:56:57 E/Bot 1654723334: An exception was thrown under a coroutine of Bot
org.luaj.vm2.LuaError: @aio.lua:327 vm error: java.lang.IllegalArgumentException: Forward nodeList mustn't be empty
在文档里面写到
会报错
如果按照
event.group:sendMessage()则会报错请修复这个bug并更新文档,TKS