mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 19:43:49 +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":
|
case "xml":
|
||||||
resId := d["resid"]
|
resId := d["resid"]
|
||||||
template := CQCodeEscapeValue(d["data"])
|
template := CQCodeEscapeValue(d["data"])
|
||||||
println(template)
|
//println(template)
|
||||||
i, _ := strconv.ParseInt(resId, 10, 64)
|
i, _ := strconv.ParseInt(resId, 10, 64)
|
||||||
msg :=global.NewXmlMsg(template,i)
|
msg :=global.NewXmlMsg(template,i)
|
||||||
return msg,nil
|
return msg,nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user