Expand description
Builders for bot messages and commands (§8.14), named as in the zaun-bot SDK: buttons, selects and rows, Components V2 layout, modals, and slash commands.
Structs§
- Action
Row - A row of up to five buttons, or one select.
- Button
- A button: one that sends an interaction (
custom_id), or a link the reader confirms. - Checkbox
- One yes/no box (type 23); never required.
- Checkbox
Group - Several choices (type 22).
- Command
Builder - A slash, user or message command.
- Container
- A box around other components (type 17).
- File
- One attached file (type 13).
- File
Upload - Files the member uploads (type 19).
- Media
Gallery - Up to ten pictures (type 12).
- Modal
- A modal: up to five labelled inputs and texts.
- Option
Builder - An option of a slash command.
- Radio
Group - One choice among options (type 21).
- Section
- One to three texts with a button or thumbnail beside them (type 9).
- Select
- A select menu.
- Separator
- A line or a gap (type 14).
- Text
Display - Markdown text (type 10).
- Text
Input - A text field.
- Thumbnail
- A picture beside a section (type 11).
Enums§
- Entity
Kind - What an entity select offers.