DiSky DiSky v5.0.0-b1

Component

type

Any message or modal component under construction: a button, a dropdown, a text input, a row, a container, a section, a text display, a separator, a media gallery, a file display or a thumbnail. Configure it with its properties, then add it to a message builder, a row, a container or a modal. It is copied at that moment, so later changes to the component do not affect what was added.

1 syntaxnet.itsthesky.disky5.api.components.ComponentBuilder
1 / 1

Properties

1
propertyNumbersince 5.0.0-a1
[the] unique id of %component%
%component%'s unique id

The numeric identifier of a component inside a message, distinct from its text id.

Discord assigns one when the message is sent; set it yourself to address the component later with 'replace component with unique id'.

change modes set
Helpful?

Returned by

8

Syntaxes elsewhere in DiSky that return Component.

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.