Optional ReadonlycontextsReadonlydefault_Readonlydefault_Use SharedSlashCommand.setDefaultMemberPermissions or SharedSlashCommand.setDMPermission instead.
ReadonlydescriptionOptional Readonlydescription_Readonlydm_Use SharedSlashCommand.contexts instead.
Optional Readonlyintegration_ReadonlynameOptional Readonlyname_ReadonlynsfwReadonlyoptionsSets the contexts of this command.
The contexts
Sets the default permissions a member should have in order to run the command.
The permissions bit field to set
Sets whether the command is enabled by default when the application is added to a guild.
Whether or not to enable this command by default
Use SharedSlashCommand.setDefaultMemberPermissions or SharedSlashCommand.setDMPermission instead.
Sets if the command is available in direct messages with the application.
Whether the command should be enabled in direct messages
Use SharedSlashCommand.setContexts instead.
Sets the integration types of this command.
The integration types
Sets whether this command is NSFW.
Optionalnsfw: booleanWhether this command is NSFW
Serializes this builder to API-compatible JSON data.
This mixin holds symbols that can be shared in slashcommands independent of options or subcommands.