class DangerButtonBuilder
extends
CustomIdButtonBuilderexport declare class DangerButtonBuilder extends CustomIdButtonBuilderA builder that creates API-compatible JSON data for buttons with custom IDs (using the danger style).
protectedreadonlydata : Partial<APIButtonComponentWithCustomId>
Inherited from: CustomIdButtonBuilder
setCustomId(customId: string) : this
customId: string
Sets the custom id for this button.
Inherited from: CustomIdButtonBuilder