From 33bc94ed5d0c098b6c3af8ec5ff4006a15e0bee1 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Wed, 14 Oct 2026 23:56:06 -0600 Subject: [PATCH] Added `verse random` --- cmd/bot/main.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cmd/bot/main.go b/cmd/bot/main.go index 9c2152f..65b480a 100644 --- a/cmd/bot/main.go +++ b/cmd/bot/main.go @@ -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.", + }, + }, + }, }, }, },