button
This block is part of the discord
group and was last modified in core v10.4.28
.
Connection Type
This block connects from a discordcomponentconnection
type block. Make sure to connect this block to the appropriate left-hand side connection.
button
v10.4.28
Returns a base button (type 2).
Pin | Pin | Type | Default |
---|---|---|---|
stylerequired one of button styles |
number |
||
labelrequired text that appears on the button, max 80 characters |
value |
||
emoji emoji to be shown next to the button |
value |
||
custom_id a developer-defined identifier for the button, max 100 characters |
value |
||
url a url for link-style buttons |
value |
||
disabled whether the button is disabled |
condition |
false |
Pin | Pin | Type | Example |
---|---|---|---|
flow |
flow |
||
comps |
discordcomponentconnection |
Core Releases
v10.4.28 This block was introduced inv10.4.28
, click here to see the release notes.
Back to
discord
Return to the main group to view all sub-groups
Back to discord component
Return to the group to view all blocks within this group