---
url: https://docs.juniper.bot/en/message-templates/components/entity-select-menu.md
description: Entity Select Menu component used in Message Templates.
---

[action]: ../../../cmd/custom/actions/index

[actions]: ../../../cmd/custom/actions/index

[`component.id`]: ../../types/custom-commands/component

[`component.selectedOptions`]: ../../types/custom-commands/component

[`modal.values`]: ../../types/custom-commands/modal

[Modal Forms]: ../../../cmd/custom/actions/modal-form

# Entity Select Menu

Entity Select Menu is interactive component that lets your member pick the members, roles or channels available on the server.

This component has the following settings:

![entity_menu_settings_en](entity_menu_settings_en.png)

* **Identifier** — component identifier, enter something related to the component;
  ::: info
  Identifier must be unique across all message components.

  [Action] executed by selection menu will get this identifier as [`component.id`] variable as well as list of
  selected options values as [`component.selectedOptions`] variable.

  For [Modal Forms], the message template of [Action] being executed by this modal will get [`modal.values`] variable map,
  containing the identifier as key and the list of selected options as its value.

  Thus, this way you can determine what options were selected.
  :::
* **Menu Type** — the type of options that will be used for this menu (members, roles or channels);
* **Minimum amount of values** — the minimum amount of values user has to select;
* **Maximum amount of values** — the maximum amount of values user is able to select;
* **Placeholder text if nothing is selected** — a placeholder text if nothing is selected;
* **Action** — [Action] that will be executed by menu option selection;
* **Disabled** — checking this will make menu inactive, unable to be pressed.

## Availability { #availability }

This component is available for custom command's [actions] for all message template modes (text, embed, components).

It is also available for [Modal Forms](../../../cmd/custom/actions/modal-form).
