🐛 修复run命令被转义的问题

This commit is contained in:
Yiwen-Chan 2021-04-26 18:11:03 +08:00
parent f4af5bea99
commit a0c39a7464

View File

@ -252,7 +252,7 @@ func init() { // 插件主体
var cmd = ctx.State["regex_matched"].([]string)[1]
cmd = strings.ReplaceAll(cmd, "[", "[")
cmd = strings.ReplaceAll(cmd, "]", "]")
ctx.SendChain(message.Text(cmd))
ctx.Send(cmd)
})
}