Classseedcordv0.10.6Internal
CommandRegistry
Manages Discord application command registration and deployment.
Scans command directories, builds command structures, and registers both global and guild-scoped commands to Discord's API.
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the CommandRegistryCommandRegistry class.
class CommandRegistry implements Initializeable, HmrAwareclass CommandRegistry implements Initializeable, HmrAwareMember visibility
Filter class members by access level.
Showing members with Protected visibility and higher.
Properties
public readonly globalCommands: (SlashCommandBuilder | ContextMenuCommandBuilder)[]public readonly globalCommands: (SlashCommandBuilder | ContextMenuCommandBuilder)[]public readonly guildCommands: Collection<string, (SlashCommandBuilder | ContextMenuCommandBuilder)[]>public readonly guildCommands: Collection<string, (SlashCommandBuilder | ContextMenuCommandBuilder)[]>public readonly namepublic readonly name