mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-06 03:53:50 +08:00
Make send_group_forward_msg can use on get_msg
理论上这个是正常支持的, Fix https://github.com/Mrs4s/go-cqhttp/issues/542
This commit is contained in:
parent
2156b6083b
commit
7e49ed4869
@ -343,7 +343,7 @@ func (bot *CQBot) CQSendGroupForwardMessage(groupId int64, m gjson.Result) MSG {
|
|||||||
if len(sendNodes) > 0 {
|
if len(sendNodes) > 0 {
|
||||||
gm := bot.Client.SendGroupForwardMessage(groupId, &message.ForwardMessage{Nodes: sendNodes})
|
gm := bot.Client.SendGroupForwardMessage(groupId, &message.ForwardMessage{Nodes: sendNodes})
|
||||||
return OK(MSG{
|
return OK(MSG{
|
||||||
"message_id": ToGlobalId(groupId, gm.Id),
|
"message_id": bot.InsertGroupMessage(gm),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return Failed(100)
|
return Failed(100)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user