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:
commit
5280c68bfc
@ -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