DiSky DiSky v5.0.0-b1

Modal

type

A pop-up form shown to the user in answer to a button click, a dropdown click or a slash command, with 'show modal'. Its text inputs and dropdowns are read back in 'on modal received'. It holds up to 5 components; each text input or dropdown needs a label.

4 syntaxesnet.itsthesky.disky5.api.components.ModalBuilder
4 / 4

Properties

3
propertyText
[the] custom id of %modal%
%modal%'s custom id
change modes set
Helpful?
propertylist of Component
[the] components of %modal%
%modal%'s components
change modes setaddremovedelete
Helpful?
propertyText since 5.0.0-a1
[the] title of %modal%
%modal%'s title

The title of an embed. Co-owned with Skript's native Property.TITLE.

change modes set
Helpful?

Expressions

1
expressionModalsince 5.0.0-a1
[a] new modal [with] [the] id %string% (named|titled|with [the] title) %string%

Creates a modal with the given id (what 'received id' returns) and title.

Helpful?

Returned by

1

Syntaxes elsewhere in DiSky that return Modal.

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.