DiSky DiSky v5.0.0-b1

Dropdown Option

type

One choice of a string dropdown. Its value is what 'selected values' returns; its label is what the user sees (defaults to the value).

6 syntaxesnet.itsthesky.disky5.api.components.SelectOptionBuilder
6 / 6

Properties

5
propertyText
[the] label of %selectoption%
%selectoption%'s label
change modes set
Helpful?
propertyTextsince 5.0.0-a1
[the] option value of %selectoption%
%selectoption%'s option value

The value sent back when this option is selected.

change modes set
Helpful?
propertyText
[the] description of %selectoption%
%selectoption%'s description
change modes set
Helpful?
propertyText
[the] emoji of %selectoption%
%selectoption%'s emoji
change modes set
Helpful?
propertyBooleansince 5.0.0-a1
[the] default option of %selectoption%
%selectoption%'s default option

Whether this option is selected when the dropdown is first shown.

change modes set
Helpful?

Expressions

1
expressionDropdown Optionsince 5.0.0-a1
[a] new [drop[( |-)]down] option [with] [the] value %string% [(named|with [the] label) %-string%] [with [the] description %-string%] [with [the] emoji %-emote/string%]

Creates an option to add to the options of a string dropdown.

Helpful?

Returned by

1

Syntaxes elsewhere in DiSky that return Dropdown Option.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.