Remedy.Schema.Component.SelectMenu (Remedy v0.6.8) View Source

Select Menu

Link to this section Summary

Functions

Creates a select menu that can be used inside an action row. Options can be passed as a keyword list.

Link to this section Types

Link to this section Functions

Link to this function

select_menu(custom_id, opts \\ [])

View Source

Creates a select menu that can be used inside an action row. Options can be passed as a keyword list.

Parameters

  • custom_id - lower case string, used for matching against when your application receives an interaction.

    Options

  • disabled - If the select should be disabled
  • options - A list of options for the select menu, see Nostrum.Struct.Component.Option
  • placeholder - Value to be shown before anything is selected
  • min_values - minimum number of values the user must select, between 0 and 25, default is 1
  • max_values - maximum number of values the user must select, between 0 and 25, default is 1