mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 02:00:24 +00:00
增加列出所有提醒
This commit is contained in:
@@ -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)))
|
||||
}
|
||||
})
|
||||
// 随机点名
|
||||
|
||||
Reference in New Issue
Block a user