Components & Interactions
focusedOptionName
$focusedOptionName — Returns the focused option of the command
Returns the focused option of the command
Syntax
$focusedOptionName
Parameters
None.
Return Value
- String.
Usage
$focusedOptionName → result
Example
$focusedOptionName
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.