mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-06 20:13:50 +08:00
fix none msg
This commit is contained in:
parent
808c275f3d
commit
9c81b81820
@ -104,6 +104,7 @@ func (e *PokeElement) Type() message.ElementType {
|
||||
}
|
||||
|
||||
func ToArrayMessage(e []message.IMessageElement, code int64, raw ...bool) (r []MSG) {
|
||||
r = []MSG{}
|
||||
ur := false
|
||||
if len(raw) != 0 {
|
||||
ur = raw[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user