add rough guild support

This commit is contained in:
fumiama
2022-01-17 23:04:32 +08:00
parent 461dc925af
commit 8256658ac2
14 changed files with 33 additions and 35 deletions

View File

@@ -41,7 +41,7 @@ var (
)
func init() {
engine.OnFullMatch("签到").SetBlock(true).
engine.OnFullMatch("签到", zero.OnlyGroup).SetBlock(true).
Handle(func(ctx *zero.Ctx) {
uid := ctx.Event.UserID
now := time.Now()