mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
优化输出
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user