Documentation
¶
Overview ¶
Package interactions provides the functionality for handling Discord interactions. See: https://discord.com/developers/docs/interactions/receiving-and-responding
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
A Handler handles Discord interactions.
func NewHandler ¶
NewHandler creates a new Handler instance.
func (*Handler) Respond ¶
func (h *Handler) Respond(ctx context.Context, interaction discord.Interaction) discord.InteractionResponse
Respond handles an interaction and returns an interaction response.
Click to show internal directories.
Click to hide internal directories.