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