Package-level declarations

Types

Link copied to clipboard
abstract class ApplicationCommand

Base class for annotated application commands such as slash / context commands.

Link copied to clipboard
@InterfacedService(acceptMultiple = true)
interface ApplicationCommandFilter<T : Any> : Filter

Prevents application command execution by returning an error object to the command executor.

Link copied to clipboard
Link copied to clipboard
@InterfacedService(acceptMultiple = false)
interface ApplicationCommandRejectionHandler<T : Any>

Processes application command rejections returned by application command filters.

Link copied to clipboard

Resolver data for application commands, passed when requesting:

Link copied to clipboard
@InterfacedService(acceptMultiple = false)
interface ApplicationCommandsContext

Helps to get application commands of a specific scope, find application commands with their name and update commands.

Link copied to clipboard

A filter determining if an application command needs to be registered.

Link copied to clipboard

Map of command paths to their application command

Link copied to clipboard
Defines command scopes for application commands.
Link copied to clipboard

Simple wrapper for the failing command declaration function and its exception

Link copied to clipboard

Result of a scheduled command update.

Link copied to clipboard
Link copied to clipboard

Represents a top-level application command (i.e. not a subcommand, nor a group).

Link copied to clipboard

Discord's metadata about an application command.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Returns the application command with the specific type, id, group and subcommand, or null if one of the expected arguments does not match.

Link copied to clipboard