1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

Merge pull request #575 from sam01101/patch-1

Make send_group_forward_msg can use on get_msg
This commit is contained in:
Mrs4s 2021-01-19 01:31:00 +08:00 committed by GitHub
commit 5280c68bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -343,7 +343,7 @@ func (bot *CQBot) CQSendGroupForwardMessage(groupId int64, m gjson.Result) MSG {
if len(sendNodes) > 0 {
gm := bot.Client.SendGroupForwardMessage(groupId, &message.ForwardMessage{Nodes: sendNodes})
return OK(MSG{
"message_id": ToGlobalId(groupId, gm.Id),
"message_id": bot.InsertGroupMessage(gm),
})
}
return Failed(100)