The blocks
Message
Message
What it does: sends or edits a message, with optional buttons and select menus.
Edits start from the original message, so you only change what you need.
Layout message
Layout message
What it does: builds a bigger message with sections, text, media, buttons and menus. Discord calls this Components V2.How the editor looks: the parts list on the left, your message in the middle, a settings column, and a live preview on the right. You type text straight into the part in the middle. The right column shows the character count and Insert a variable.
Example: a shop message with a picture of each item and a Buy button under it.
Buttons
Buttons make your bot feel like an app. Add them in a message block’s settings. Give each one a label (the words on it) and pick a style:
You can also add an emoji with the emoji picker. It has your server’s own emojis too, even animated ones.
Every button runs its own blocks. Each button gets its own path on the board. Blocks under a button only run when someone presses that button. That is how one message can have a Yes and a No button that do different things.
Select menus
A select menu is a drop-down list. It is good when there are too many choices for buttons, like picking one of 15 roles. Each option gets its own blocks, just like a button. Searchmenu in the block list.
Answering a button press
1
Add a message under the button
Connect a message block to the button’s path.
2
Pick the response type
Set Response type to Reply to the command or button/menu interaction. This answers the person who pressed it.
3
Keep the channel tidy
Reply privately when only they should see it, so the channel does not fill up.
Pictures in messages
Uploads count toward your bot’s storage.
See it in a real system
Role buttons
Buttons that give roles.
Support tickets
A button that opens a ticket.
Verify new members
A verify button for new people.
Message Builder
Design messages on their own page.
