The text shown on a button or a dropdown option, or the title above a text input or a dropdown inside a modal.
A text input or a dropdown added to a modal must have one.
A clickable button. A styled button carries an id you get back in 'on button click'; a link button opens a url instead and never fires an event; a premium button opens a sku purchase. A button needs a label or an emoji. Up to 5 buttons fit in one row.
The text shown on a button or a dropdown option, or the title above a text input or a dropdown inside a modal.
A text input or a dropdown added to a modal must have one.
The text id of a component: what 'clicked id' returns for a button, the key of a dropdown or a text input in the received values, the id of a modal.
A link or premium button has none.
The url a link button opens. Setting it turns the button into a link button.
The emoji shown on a button or a dropdown option. Accepts an emote, a unicode emoji or the '<:name:id>' form of a custom one.
Whether the component is greyed out and cannot be used.
The style of a button (its color) or of a text input (short or paragraph). Co-owned with Skript's native Property.STYLE.
Creates a styled button (primary, secondary, success or danger) with the id you will read back as 'clicked id' when it is clicked.
The label and the emoji are optional here and can be set later, but one of them is required before the button is sent.
Creates a button that opens a url when clicked. It never fires 'on button click'.
Creates a button that opens the purchase flow of one of the application's skus. Discord draws its label itself.
Syntaxes elsewhere in DiSky that return Button.
[a] new %buttonstyle% button [with] [the] id %string% [(named|with [the] label) %-string%] [with [the] emoji %-emote/string%]Button[a] new link button [with] [the] url %string% [(named|with [the] label) %-string%] [with [the] emoji %-emote/string%]Button[a] new premium button [with] [the] sku [id] %string%Button