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.
Click to show internal directories.
Click to hide internal directories.