rings

package
v0.0.0-...-554ec09 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewRing = cmdutil.Commands{
	Name:        "newring",
	Description: "Creates a new ring.",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionString,
			Name:        "name",
			Description: "The FULL NAME of the ring.",
			Required:    true,
		},
		{
			Type:        discordgo.ApplicationCommandOptionString,
			Name:        "description",
			Description: "Provide a short and brief description of the ring.",
			Required:    true,
		},
		{
			Type:        discordgo.ApplicationCommandOptionRole,
			Name:        "role",
			Description: "The role to assign to the ring. If not provided, a role will automatically be created.",
			Required:    false,
		},
	},
	Handler:     newRingHandler,
	Permissions: discordgo.PermissionAdministrator,
}
View Source
var Rings = cmdutil.Commands{
	Name:        "rings",
	Description: "View the rings available to be awarded to players.",
	Handler:     ringsHandler,
}

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