mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
fix 64gua
This commit is contained in:
parent
202d5e41a1
commit
145a9fb0b1
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user