#️⃣
Add Channel Picker
ui.select.channelThe Control PanelControlsAdds a dropdown Discord fills with the server's channels, optionally narrowed to one kind. The chosen channel ID comes back as {{component.value}}.
When to use this
- →Narrow to Text channels when the answer feeds a Send piece
On the canvas
This is what Add Channel Picker looks like when you place it on your flow. Each field below is something you configure in the inspector panel.
#️⃣Controls
Add Channel Picker
ui.select.channelcustomIdrequired
pick_channel
placeholder
Choose a channel…
channelTypes
select…
minValues
1
maxValues
1
disabled
boolean…
output
error
Config fields
| Field | Type | Req | What it does |
|---|---|---|---|
customIdpick_channel | text | yes | Custom id 🏷️ |
placeholderChoose a channel… | text | — | Placeholder text 💬 |
channelTypes | select | — | Kinds to show 📡 |
minValues1 | number | — | Fewest they can pick 🔢 |
maxValues1 | number | — | Most they can pick 🔢 |
disabled | boolean | — | Start greyed out 🚫 |
Output ports
outputChannel picker staged
errorMissing a custom id
📐
In TypeScript, this would be…
Not something you need to write — just a look at what Kitcord does for you.
TypeScript
const menu = new ChannelSelectMenuBuilder()
.setCustomId("pick_channel")
.setChannelTypes(ChannelType.GuildVoice)
.setPlaceholder("Choose a channel…");More Controls pieces