Commit cb943660 authored by scjtqs's avatar scjtqs

移动xml处理位置

parent 03cc0dba
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment