Added deletion feature for verse_rotation.

This commit is contained in:
Benjamin A. Shelton 2026-10-15 15:11:40 -06:00
commit 06fc2668c8
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -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.",
},
},
},
},
},
},
},
},