1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 11:33:48 +08:00

移动xml处理位置

This commit is contained in:
scjtqs 2020-08-24 16:16:36 +08:00
parent 03cc0dba95
commit cb9436601f

View File

@ -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