优化输出

This commit is contained in:
源文雨
2022-09-10 13:24:15 +08:00
parent 3351450d88
commit ca7ac08808
3 changed files with 16 additions and 16 deletions

View File

@@ -20,7 +20,7 @@ func init() {
msg := []string{ctx.State["regex_matched"].([]string)[2]}
data, err := tl.Translate(msg[0])
if err != nil {
ctx.SendChain(message.Text("Error:", data))
ctx.SendChain(message.Text("ERROR: ", data))
return
}
ctx.SendChain(message.Text(data))