Added verse list command.

This commit is contained in:
Benjamin A. Shelton 2026-10-14 14:08:49 -06:00
commit 48cbce1b9e
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
3 changed files with 49 additions and 0 deletions

View file

@ -135,6 +135,23 @@ func main() {
},
},*/
},
{
Name: "list",
Description: "List verses configured for this bot.",
Action: cmdHost.Verse().ListVerses,
Flags: []cli.Flag{
&cli.IntFlag{
Name: "chatid",
Usage: "Include verses configured for the specified chat ID",
Aliases: []string{"i"},
},
&cli.BoolFlag{
Name: "random",
Usage: "Include verse random rotation status (if available)",
Aliases: []string{"r"},
},
},
},
},
},
},