Added verse random

This commit is contained in:
Benjamin A. Shelton 2026-10-14 23:56:06 -06:00
commit 33bc94ed5d
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -176,6 +176,21 @@ func main() {
},
},
},
{
Name: "random",
Description: "select a random verse from the bot's database",
Action: cmdHost.Verse().RandomVerse,
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "simulate",
Usage: "Simulates a random verse selection from the bot and populates the internal verse rotation status. Requires --chatid.",
},
&cli.Int64Flag{
Name: "chatid",
Usage: "Specifies the chat ID to generate a random verse from. If --simulate is specified, this will update the verse rotation statues.",
},
},
},
},
},
},