team

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddCoach = cmdutil.Commands{
	Name:        "addcoach",
	Description: "Adds a coach to the team.",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionUser,
			Name:        "coach",
			Description: "The coach to add.",
			Required:    true,
		},
	},
	Handler: addCoachHandler,
}
View Source
var Release = cmdutil.Commands{
	Name:        "release",
	Description: "Releases a player from your team.",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionUser,
			Name:        "player",
			Description: "The player to release.",
			Required:    true,
		},
	},
	Handler: releaseHandler,
}
View Source
var Roster = cmdutil.Commands{
	Name:        "roster",
	Description: "Views the roster of the team selected.",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionString,
			Name:        "team",
			Description: "The team to view the roster of.",
			Required:    true,
			Choices:     db.TeamOptions,
		},
	},
	Handler: rosterHandler,
}

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