Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Command = &commands.YAGCommand{ CmdCategory: commands.CategoryTool, Name: "Poll", Description: "Create very simple reaction poll. Example: `poll \"favorite color?\" blue red pink`", RequiredArgs: 3, Arguments: []*dcmd.ArgDef{ &dcmd.ArgDef{ Name: "Topic", Type: dcmd.String, Help: "Description of the poll", }, &dcmd.ArgDef{Name: "Option1", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option2", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option3", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option4", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option5", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option6", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option7", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option8", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option9", Type: dcmd.String}, &dcmd.ArgDef{Name: "Option10", Type: dcmd.String}, }, RunFunc: createPoll, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.