The message blocks
There are also blocks to send a message to a channel, send a direct message, send a random answer from a list, and to edit, delete, pin, publish and react to messages. Search the block list for those words.
Response type
In a message block, the Response type says how the bot answers:- In commands: Reply to the command.
- After a button or menu: Reply to the command or button/menu interaction. This only appears when the message comes after a button or menu block.
Pictures in messages
Every picture box in a message has Upload image and Your uploads. You can upload PNG, JPG, GIF or WebP pictures up to 8 MB each. In a Layout message, a Media Gallery takes up to 10 pictures at once. Uploads count toward your bot’s storage. Want a picture made just for this person, like a welcome card with their name? Use Card Studio and{card}. See Send a card from your bot.
Building a Layout message
The Layout message builder has four parts:- The parts list on the left: text, sections, pictures, galleries, separators, buttons and menus.
- Your message in the middle. Type straight into a text part; each shows up to 5 lines.
- Settings for the part you picked, with the character count and Insert a variable.
- Live preview on the right, so you see what Discord will show.
The Message Builder page
The Message Builder page (under Build) lets you design messages and save them, so you can use the same message in many commands and events.Import JSON
Made a message somewhere else? Press Import JSON, then paste it or drop in a .json file. DogeBot checks it and tells you clearly if something is wrong.Putting values in messages
Any text box can show values like the person’s name. Press Variables (or Insert a variable), or type them in curly brackets, like{user_name}. See Show a variable in a message.
