🗣️ create interactible dropdown with items (values) maximum selection count (maxValues) minimum selection count (minValues) placeholder (placeholder) enabled? (enabled) with custom ID (id)
In Discord → Interactions → Dropdowns
Create an interactable dropdown list.
Requires the following blocks to be present in the project: discord login
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
values | Array | ✓ | The items in the dropdown. They must be dropdown items. |
maxValues | Number | ✓ | The maximum number of items a user can select from this dropdown. |
minValues | Number | ✓ | The minimum number of items a user can select from this dropdown. |
placeholder | String | ✓ | The ‘placeholder’ item. |
enabled | Boolean | ✓ | Whether this dropdown can be interacted with. |
id | String | ✓ | The ID to assign to this button. It can be checked later in a “interaction added” event using the ID of interaction and 🔔 interaction blocks. |
Output
interaction - The dropdown list.