diff --git a/cmd/bot/main.go b/cmd/bot/main.go index 65b480a..58984bc 100644 --- a/cmd/bot/main.go +++ b/cmd/bot/main.go @@ -191,6 +191,24 @@ func main() { }, }, }, + { + Name: "rotation", + Description: "Random verse rotation management", + Commands: []*cli.Command{ + { + Name: "delete", + Description: "Delete rotations; this will reset the specified chat's exhausted verses list", + Action: cmdHost.Verse().DeleteRotation, + Flags: []cli.Flag{ + &cli.Int64Flag{ + Name: "chatid", + Aliases: []string{"i"}, + Usage: "Specifies the chat from which rotation records will be removed.", + }, + }, + }, + }, + }, }, }, },