mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 11:33:48 +08:00
移动xml处理位置
This commit is contained in:
parent
03cc0dba95
commit
cb9436601f
@ -460,7 +460,7 @@ func (bot *CQBot) ToElement(t string, d map[string]string, group bool) (message.
|
||||
case "xml":
|
||||
resId := d["resid"]
|
||||
template := CQCodeEscapeValue(d["data"])
|
||||
println(template)
|
||||
//println(template)
|
||||
i, _ := strconv.ParseInt(resId, 10, 64)
|
||||
msg :=global.NewXmlMsg(template,i)
|
||||
return msg,nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user