StorageAwareApplicationCommandRegistry
ApplicationCommandRegistry which acts based off a specified storage interface.
Discord lifecycles may not be implemented in this class and require manual updating.
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.
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 a MessageCommand to the registry.
Register a SlashCommand to the registry.
Register a UserCommand to the registry.
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.