Optional
defaultMemberPermissions?: PermissionResolvable | nullThe default bitfield used to determine whether this command be used in a guild
Optional
dmPermission?: booleanWhether the command is enabled in DMs
Cannot be enabled for commands that specify guilds
Optional
guilds?: Snowflake[]Assign context menu commands to Specific guilds. This option will make the commands not register globally, but only in the chosen servers.
The name of the context menu command.
Optional
nameLocalizations?: LocalizationMapName localization.
Optional
ownerOnly?: booleanUsable only by the client owner.
Optional
superUserOnly?: 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.