1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-08 04:55:55 +08:00
This commit is contained in:
Ink-33 2020-11-15 16:19:57 +08:00
parent cb9d872071
commit 79ba9474a3
No known key found for this signature in database
GPG Key ID: 5D8B1D036EFB0D2E

View File

@ -104,7 +104,7 @@ func ToArrayMessage(e []message.IMessageElement, code int64, raw ...bool) (r []M
} }
for _, elem := range e { for _, elem := range e {
m := MSG{} m := MSG{}
swiadd tch o := elem.(type) { switch o := elem.(type) {
case *message.TextElement: case *message.TextElement:
m = MSG{ m = MSG{
"type": "text", "type": "text",