ApplicationCommandRegistry
Abstract class representing common behavior for application command registries.
Deals with the registration and syncing of, and dispatching to, all application commands. Subtypes should build their functionality on top of this type.
See also
Inheritors
Properties
Functions
Creates a KordEx ApplicationCommand as discord command and returns the created command's id as Snowflake.
Creates a KordEx MessageCommand as discord command and returns the created command's id as Snowflake.
Creates a KordEx SlashCommand as discord command and returns the created command's id as Snowflake.
Creates a KordEx UserCommand as discord command and returns the created command's id as Snowflake.
Event handler for autocomplete interactions.
Event handler for slash commands.
Event handler for message commands.
Event handler for user commands.
Handles the initial registration of commands, after extensions have been loaded.
Check whether the type and name of an extension-registered application command matches a Discord one.
Register a MessageCommand to the registry.
Register a SlashCommand to the registry.
Register a UserCommand to the registry.
Registration logic for slash commands, extracted for clarity.
Registration logic for message commands, extracted for clarity.
Registration logic for user commands, extracted for clarity.
Register multiple slash commands.
Registers the global permissions of command.
Registers the guild permission of command.
Unregister a message command.
Unregister a slash command.
Unregister a user command.
Unregister a generic ApplicationCommand.