DiSky DiSky v5.0.0-b1

Slash Choice

type

One fixed choice of a slash option: the name the user sees and the value the script gets. Also what 'return choices' sends back from 'on slash completion'.

3 syntaxesnet.itsthesky.disky5.api.commands.application.SlashChoiceHolder
3 / 3

Properties

2
propertyObjectsince 5.0.0-a2
[the] choice value of %slashchoice%
%slashchoice%'s choice value

The value sent to the bot when this choice is picked (a text or a number).

change modes set
Helpful?
propertyText since 5.0.0-a1
[the] name of %slashchoice%
%slashchoice%'s name

The name of a Discord entity: a user's or member's account name, a guild's name, a role/channel name, a bot's define-name. Registered on Skript's native Property.NAME, so the idiomatic "name of %x%" works without colliding. For a member's server nickname or display name, use "effective name".

change modes set
Helpful?

Expressions

1
expressionSlash Choicesince 5.0.0-a2
[a] new [option] choice (named|with [the] name) %string% with [the] value %string/number%

Creates a choice. Give a text value for a string option, a number for an integer or number option.

Helpful?

Returned by

2

Syntaxes elsewhere in DiSky that return Slash Choice.

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.