fix 64gua

This commit is contained in:
源文雨 2022-10-02 11:11:05 +08:00
parent 202d5e41a1
commit 145a9fb0b1

View File

@ -50,7 +50,7 @@ func init() {
ctx.SendChain(message.Text("加密失败!")) ctx.SendChain(message.Text("加密失败!"))
} }
}) })
en.OnRegex(`^六十四卦用(.+)解密\s*([一-踀]+[㴁-㴆]?)$`).SetBlock(true). en.OnRegex(`^六十四卦用(.+)解密\s*([䷀-䷿]+[☰☱]?)$`).SetBlock(true).
Handle(func(ctx *zero.Ctx) { Handle(func(ctx *zero.Ctx) {
key, str := ctx.State["regex_matched"].([]string)[1], ctx.State["regex_matched"].([]string)[2] key, str := ctx.State["regex_matched"].([]string)[1], ctx.State["regex_matched"].([]string)[2]
t := getea(key) t := getea(key)