poll

package
v1.19.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2019 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL