Piecewise

Build chat bots with blocks

🗣️ (default) default option with name (name) value (value) description (description) emoji (emoji)

In Discord → Interactions → Dropdowns

Jump to block

Represents an argument to a dropdown.

Requires the following blocks to be present in the project: discord login

Parameters

Parameter name Parameter type Required? Description
default any Whether this is the default dropdown option.
name String The name of the dropdown option.
value String An application-defined value for the dropdown option.
description String A description of the dropdown option.
emoji emoji An emoji to show next to this dropdown option.

Output

interaction dropdown arg