$getSelectMenuValues
$getSelectMenuValues
returns the value of an option from select menu.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
index? | string, number | The option index from where the value will be fetched. 1. all - returns the value of all options. 2. any number (default 1 ) | false |
sep? | string | Separator for returned values. (default , ) | false |
Example(s)
This will return the ID of all selected users from the option, delimited by comma (,
):