This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
zero.OnCommand("扭蛋").
|
||||
zero.OnCommand("扭蛋", zero.Type("message/group")).
|
||||
Handle(func(ctx *zero.Ctx) {
|
||||
msgs := strings.Fields(ctx.Event.Message.String())
|
||||
if len(msgs) <= 1 {
|
||||
|
||||
Reference in New Issue
Block a user