mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-01-09 14:59:38 +08:00
✏️ 小修正
This commit is contained in:
parent
7c69c24362
commit
776d7fbbd9
@ -20,7 +20,7 @@ func init() {
|
|||||||
str := ctx.State["regex_matched"].([]string)[1]
|
str := ctx.State["regex_matched"].([]string)[1]
|
||||||
es, err := base14.UTF16be2utf8(base14.EncodeString(str))
|
es, err := base14.UTF16be2utf8(base14.EncodeString(str))
|
||||||
if err == nil {
|
if err == nil {
|
||||||
ctx.SendChain(message.Text(es))
|
ctx.SendChain(message.Text(helper.BytesToString(es)))
|
||||||
} else {
|
} else {
|
||||||
ctx.SendChain(message.Text("加密失败!"))
|
ctx.SendChain(message.Text("加密失败!"))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user