mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 22:40:23 +08:00
增加列出所有提醒
This commit is contained in:
parent
a315afff9e
commit
76c29042c8
@ -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)))
|
||||
}
|
||||
})
|
||||
// 随机点名
|
||||
|
||||
Loading…
Reference in New Issue
Block a user