Added verse list command.
This commit is contained in:
parent
d197831ecf
commit
48cbce1b9e
3 changed files with 49 additions and 0 deletions
|
|
@ -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"},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue