# Functions

AddAndRegisterInteractionCommands registers both command handlers and global commands on a discordgo.Session.
AddInteractionCommandHandlers adds a handler function to a discordgo.Session which will process incoming interaction commands by invoking the appropriate command handler.
ApplyDefaultMiddleware sets up a default middleware chain for a given CommandHandler.
ChainMiddlewares returns a new CommandHandler that is the result of chaining multiple Middleware functions.
GetInteractionCommands returns a slice containing all registered InteractionCommands.
LoggerMiddleware logs information about the execution of Discord commands before the command handler is invoked.
RegisterInteractionCommand adds a new InteractionCommand to the list of registered commands.
RegisterInteractionCommands registers all InteractionCommands with the Discord API.
RegisterSingleCommand registers a single application command with Discord.
RegisterSingleCommandFromInteraction accepts an InteractionCommand and registers it with Discord.

# Structs

InteractionCommand represents a Discord slash command.

# Type aliases

CommandHandler defines a function type that processes a Discord interaction event.
Middleware defines a function type for middleware, which modifies or extends the behavior of a CommandHandler.