SlashCommandBuilder
No summary provided.
export declare class SlashCommandBuilder
Set of permissions represented as a bit set for the command
Deprecated
Whether the command is enabled by default when the app is added to a guild
The localized descriptions for this command
Indicates whether the command is available in DMs with the application, only for globally-scoped commands. By default, commands are visible.
The localized names for this command
The options of this slash command
Sets the default permissions a member should have in order to run the command.
**Note:** You can set this to
'0'
to disable the command by default.Deprecated
Sets whether the command is enabled by default when the application is added to a guild.
**Note**: If set to
false
, you will have to later PUT
the permissions for this command.Sets if the command is available in DMs with the application, only for globally-scoped commands. By default, commands are visible.
Returns the final data that should be sent to Discord.
**Note:** Calling this function will validate required properties based on their conditions.