application_command

package
v0.0.0-...-e9941a8 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Handle(ctx context.Context, session *discordgo.Session, interaction *discordgo.Interaction, data discordgo.ApplicationCommandInteractionData) (*discordgo.InteractionResponse, error)
	CanDM() bool
	CanGuild() bool
}

type LFG

type LFG struct{}

func (*LFG) CanDM

func (c *LFG) CanDM() bool

func (*LFG) CanGuild

func (c *LFG) CanGuild() bool

Jump to

Keyboard shortcuts

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