Commit cd31f315 authored by Mrs4s's avatar Mrs4s

fix typo.

parent 4d233152
...@@ -5,7 +5,6 @@ import ( ...@@ -5,7 +5,6 @@ import (
"github.com/Mrs4s/MiraiGo/client" "github.com/Mrs4s/MiraiGo/client"
"github.com/Mrs4s/MiraiGo/message" "github.com/Mrs4s/MiraiGo/message"
"github.com/Mrs4s/go-cqhttp/global" "github.com/Mrs4s/go-cqhttp/global"
"github.com/gin-gonic/gin"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"io/ioutil" "io/ioutil"
"os" "os"
...@@ -258,7 +257,7 @@ func (bot *CQBot) CQGetGroupMessage(messageId int32) MSG { ...@@ -258,7 +257,7 @@ func (bot *CQBot) CQGetGroupMessage(messageId int32) MSG {
return OK(MSG{ return OK(MSG{
"message_id": messageId, "message_id": messageId,
"real_id": msg["message-id"], "real_id": msg["message-id"],
"sender": gin.H{ "sender": MSG{
"user_id": sender.Uin, "user_id": sender.Uin,
"nickname": sender.Nickname, "nickname": sender.Nickname,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment