mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-07 12:43:31 +08:00
update
This commit is contained in:
parent
cb9d872071
commit
79ba9474a3
@ -104,7 +104,7 @@ func ToArrayMessage(e []message.IMessageElement, code int64, raw ...bool) (r []M
|
||||
}
|
||||
for _, elem := range e {
|
||||
m := MSG{}
|
||||
swiadd tch o := elem.(type) {
|
||||
switch o := elem.(type) {
|
||||
case *message.TextElement:
|
||||
m = MSG{
|
||||
"type": "text",
|
||||
|
Loading…
x
Reference in New Issue
Block a user