declare class SharedSlashCommandThis mixin holds symbols that can be shared in slashcommands independent of options or subcommands.
readonlyoptionalexternalcontexts? : InteractionContextType[] 
readonlyexternaldefault_member_permissions : Permissions | null | undefined 
Use setDefaultMemberPermissions or setDMPermission instead.
readonlyoptionalexternaldescription_localizations? : LocalizationMap 
readonlyexternaldescription : string 
readonlyoptionalexternalintegration_types? : ApplicationIntegrationType[] 
readonlyoptionalexternalname_localizations? : LocalizationMap 
readonlyexternalname : string 
readonlyexternaloptions : ToAPIApplicationCommandOptions[] 
external setContexts(...contexts: RestOrArray<InteractionContextType>) : this
Sets the contexts of this command.
external setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined) : this
Sets the default permissions a member should have in order to run the command.
See also: https://discord.com/developers/docs/interactions/application-commands#permissions
 deprecatedexternal setDefaultPermission(value: boolean) : this
Use setDefaultMemberPermissions or setDMPermission instead.
Sets whether the command is enabled by default when the application is added to a guild.
See also: https://discord.com/developers/docs/interactions/application-commands#permissions
Use setContexts instead.
Sets if the command is available in direct messages with the application.
See also: https://discord.com/developers/docs/interactions/application-commands#permissions
external setIntegrationTypes(...integrationTypes: RestOrArray<ApplicationIntegrationType>) : this
Sets the integration types of this command.
external setNSFW(nsfw?: boolean) : this
Sets whether this command is NSFW.
external toJSON() : RESTPostAPIChatInputApplicationCommandsJSONBody
Serializes this builder to API-compatible JSON data.