Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cancel ¶
type Cancel struct{}
func (Cancel) Description ¶
func (Cancel) Options ¶
func (p Cancel) Options() []*discordgo.ApplicationCommandOption
func (Cancel) RequiredPerm ¶
type Credits ¶
type Credits struct{}
func (Credits) Description ¶
func (Credits) Options ¶
func (p Credits) Options() []*discordgo.ApplicationCommandOption
func (Credits) RequiredPerm ¶
type Join ¶
type Join struct{}
func (Join) Description ¶
func (Join) Options ¶
func (p Join) Options() []*discordgo.ApplicationCommandOption
func (Join) RequiredPerm ¶
type Leave ¶
type Leave struct{}
func (Leave) Description ¶
func (Leave) Options ¶
func (p Leave) Options() []*discordgo.ApplicationCommandOption
func (Leave) RequiredPerm ¶
type Link ¶
type Link struct{}
func (Link) Description ¶
func (Link) Options ¶
func (p Link) Options() []*discordgo.ApplicationCommandOption
func (Link) RequiredPerm ¶
type Predict ¶
type Predict struct{}
func (Predict) Description ¶
func (Predict) Options ¶
func (p Predict) Options() []*discordgo.ApplicationCommandOption
func (Predict) RequiredPerm ¶
type Result ¶
type Result struct{}
func (Result) Description ¶
func (Result) Options ¶
func (p Result) Options() []*discordgo.ApplicationCommandOption
func (Result) RequiredPerm ¶
type SlashCommand ¶
type SlashCommand interface { Name() string Description() string Run(s *discordgo.Session, i *discordgo.InteractionCreate) Options() []*discordgo.ApplicationCommandOption RequiredPerm() *int64 }
type Unlink ¶
type Unlink struct{}
func (Unlink) Description ¶
func (Unlink) Options ¶
func (p Unlink) Options() []*discordgo.ApplicationCommandOption
func (Unlink) RequiredPerm ¶
type Update ¶
type Update struct{}
func (Update) Description ¶
func (Update) Options ¶
func (p Update) Options() []*discordgo.ApplicationCommandOption
func (Update) RequiredPerm ¶
type Who ¶
type Who struct{}
func (Who) Description ¶
func (Who) Options ¶
func (p Who) Options() []*discordgo.ApplicationCommandOption
func (Who) RequiredPerm ¶
Click to show internal directories.
Click to hide internal directories.