Class: ApplicationCommandRegistry
Constructors
constructor
• new ApplicationCommandRegistry(commandName
): ApplicationCommandRegistry
Parameters
Name | Type |
---|---|
commandName | string |
Returns
Defined in
projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:90
Properties
apiCalls
• Private
Readonly
apiCalls: InternalAPICall
[] = []
Defined in
projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:88
chatInputCommands
• Readonly
chatInputCommands: Set
<string
>
A set of all chat input command names and ids that point to this registry. You should not use this field directly, but instead use ApplicationCommandRegistry.globalChatInputCommandIds
Defined in
projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:41
commandName
• Readonly
commandName: string
The piece this registry is for.
Defined in
projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:35
contextMenuCommands
• Readonly
contextMenuCommands: Set
<string
>
A set of all context menu command names and ids that point to this registry. You should not use this field directly, but instead use ApplicationCommandRegistry.globalContextMenuCommandIds
Defined in
projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:47
globalChatInputCommandIds
• Readonly
globalChatInputCommandIds: Set
<string
>
A set of all registered and valid global chat input command ids that point to this registry.