Optionalcontexts?: readonly InteractionContextType[]Interaction context(s) where the command can be used
Only for globally-scoped commands
OptionaldefaultMemberPermissions?: PermissionResolvable | nullThe default bitfield used to determine whether this command be used in a guild
OptionaldmPermission?: booleanWhether the command is enabled in DMs
Cannot be enabled for commands that specify guilds
Optionalguilds?: Snowflake[]Assign context menu commands to Specific guilds. This option will make the commands not register globally, but only in the chosen servers.
OptionalintegrationTypes?: readonly ApplicationIntegrationType[]Installation context(s) where the command is available
Only for globally-scoped commands
The name of the context menu command.
OptionalnameLocalizations?: LocalizationMapName localization.
Optionalnsfw?: booleanWhether the command is NSFW
OptionalownerOnly?: booleanUsable only by the client owner.
OptionalsuperUserOnly?: booleanWhether or not to allow client superUsers(s) only.
The type of the context menu command.
Options to use for context menu command execution behavior.