feat:添加抽象话插件 (#92)

This commit is contained in:
himawari
2021-12-25 12:43:02 +08:00
committed by GitHub
parent 1d39fd8685
commit 16672d9b89
7 changed files with 117 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
package shadiao
/*
func init() {
/*
engine.OnFullMatch("骂我").SetBlock(true).SetPriority(prio).Handle(func(ctx *zero.Ctx) {
if !limit.Load(ctx.Event.GroupID).Acquire() {
return
@@ -25,5 +25,5 @@ func init() {
}
ctx.SendChain(message.At(math.Str2Int64(ctx.State["regex_matched"].([]string)[1])), message.Text(helper.BytesToString(data)))
})
*/
}
*/