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 : Filter

Prevents application command execution by returning an error object to the command executor, before which you must acknowledge the interaction.

Link copied to clipboard
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
Defines the scope on which an application command is pushed to.
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

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