Button
Last updated
Last updated
Inside of the Send or Edit a Message block, you can add buttons onto your message.
Assign some text that will show in the button.
The emoji that will appear on the button on your message, you must provide a valid emoji id or a unicode formatted emoji for default discord emojis. This is an optional setting.
The style of your button, you can choose between 5 types of styles. The Link button allows you to redirect users to a custom link when the button is clicked.
You can also use variables to determine the color of your button. Set the value to the color "Name" in the table below. Leave empty to follow the button style selected in the Button Style setting.
This option allows you to decide if your button is disabled by default on the message being sent, set the text to true
if you would like it to be disabled. This is an optional setting and defaults to false
.
Enable this option to order components by assigning each button a row and a weight.
The row that the button will be placed on, insert 1 to have the button placed on the first row of buttons. A message can have up to 5 rows of either a select menu or 1 to 5 buttons, which is also known as lines of components.
The position that the button will be ordered in on the row it was placed inside of. Buttons that have a higher weight, meaning a higher number, will be placed first, before other buttons with lower weights. If you insert -1
, this button will not be added to your message.