Packages@robojs/discordjs
ContextConfig
Interface: ContextConfig
Context menu configuration options.
Extends
Properties
| Property | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|
__auto? | true | Internal: auto-generated handler marker | - | BaseConfig.__auto |
__module? | string | Internal: module name | - | BaseConfig.__module |
__path? | string | Internal: file path | - | BaseConfig.__path |
__plugin? | { name: string; path: string; } | Internal: plugin info | - | BaseConfig.__plugin |
__plugin.name | string | - | - | - |
__plugin.path | string | - | - | - |
contexts? | CommandContext[] | Interaction contexts where the command is available | - | - |
defaultMemberPermissions? | string | number | bigint | Default member permissions required to use the command | - | - |
description? | string | Handler description | - | BaseConfig.description |
disabled? | boolean | Whether the handler is disabled | - | BaseConfig.disabled |
dmPermission? | boolean | Deprecated Use contexts instead | - | - |
integrationTypes? | CommandIntegrationType[] | Installation contexts for the command | - | - |
nameLocalizations? | Record<string, string> | Name localizations by locale code | - | - |
sage? | false | SageOptions | Sage (auto-defer/reply) configuration | - | - |
serverOnly? | string | string[] | Restrict to specific server IDs | - | BaseConfig.serverOnly |
timeout? | number | Execution timeout in milliseconds | BaseConfig.timeout | - |
