player

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Drop = cmdutil.Commands{
	Name:        "drop",
	Description: "Drops a player from your team.",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionUser,
			Name:        "player",
			Description: "The player to drop",
			Required:    true,
		},
	},
	Handler: dropHandler,
}
View Source
var Recruit = cmdutil.Commands{
	Name:        "recruit",
	Description: "Recruit a player to your team.",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionUser,
			Name:        "player",
			Description: "The player to recruit.",
			Required:    true,
		},
	},
	Handler: recruitHandler,
}
View Source
var Ringcheck = cmdutil.Commands{
	Name:        "ringcheck",
	Description: "gets the amount of rings of a player",
	Options: []*discordgo.ApplicationCommandOption{
		{
			Type:        discordgo.ApplicationCommandOptionUser,
			Name:        "player",
			Description: "The player to view the rings of",
			Required:    true,
		},
	},
	Handler: ringcheckHandler,
}

Functions

Types

type RecruitmentOffer

type RecruitmentOffer struct {
	UserID   string
	TimeSent time.Time
}

Jump to

Keyboard shortcuts

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