K
Docs
API Reference→Pieces→Add Mention Picker
📣

Add Mention Picker

ui.select.mentionableThe Control PanelControls

Adds a dropdown listing both members and roles, for when either answer would do. The chosen ID comes back as {{component.value}}.

When to use this
  • →You can't tell a member from a role by ID alone — add a Condition if it matters

On the canvas

This is what Add Mention Picker looks like when you place it on your flow. Each field below is something you configure in the inspector panel.

📣
Add Mention Picker
ui.select.mentionable
Controls
customIdrequired
pick_target
placeholder
Choose someone…
minValues
1
maxValues
1
disabled
boolean…
output
error

Config fields

FieldTypeReqWhat it does
customId
pick_target
textyesCustom id 🏷️
placeholder
Choose someone…
text—Placeholder text 💬
minValues
1
number—Fewest they can pick 🔢
maxValues
1
number—Most they can pick 🔢
disabledboolean—Start greyed out 🚫

Output ports

outputMention 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
// Members and roles in one list
const menu = new MentionableSelectMenuBuilder()
  .setCustomId("pick_target")
  .setPlaceholder("Choose someone…");