poll

package
v0.0.0-...-fb67095 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 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,
		SlashCommandEnabled: true,
		Arguments: []*dcmd.ArgDef{
			{
				Name: "Topic",
				Type: dcmd.String,
				Help: "Description of the poll",
			},
			{Name: "Option1", Type: dcmd.String},
			{Name: "Option2", Type: dcmd.String},
			{Name: "Option3", Type: dcmd.String},
			{Name: "Option4", Type: dcmd.String},
			{Name: "Option5", Type: dcmd.String},
			{Name: "Option6", Type: dcmd.String},
			{Name: "Option7", Type: dcmd.String},
			{Name: "Option8", Type: dcmd.String},
			{Name: "Option9", Type: dcmd.String},
			{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