增加列出所有提醒

This commit is contained in:
fumiama 2021-07-29 22:17:28 +08:00
parent a315afff9e
commit 76c29042c8

View File

@ -258,7 +258,7 @@ func init() { // 插件主体
zero.OnFullMatch("列出所有提醒", zero.SuperUserPermission).SetBlock(true).SetPriority(40).
Handle(func(ctx *zero.Ctx) {
if ctx.Event.GroupID > 0 {
ctx.Send("")
ctx.Send(timer.ListTimers(uint64(ctx.Event.GroupID)))
}
})
// 随机点名