DiSky DiSky v5.0.0-b1

Container

type

A components V2 box with an optional accent color on its left edge, holding text displays, sections, separators, media galleries, file displays and rows of buttons or dropdowns. A message carrying a container is a components V2 message: it can have no content and no embed.

4 syntaxesextends Componentnet.itsthesky.disky5.api.components.ContainerBuilder
4 / 4

Properties

3
propertylist of Component
[the] components of %container%
%container%'s components
change modes setaddremovedelete
Helpful?
propertyColorsince 5.0.0-a1
[the] accent color of %container%
%container%'s accent color

The color of the stripe on the left edge of the container, like an embed's color.

change modes set
Helpful?
propertyBooleansince 5.0.0-a1
[the] spoiler of %container%
%container%'s spoiler

Whether the container, file display, thumbnail or media gallery is blurred until clicked.

change modes set
Helpful?

Expressions

1
expressionContainersince 5.0.0-a1
[a] new [discord] container [with [the] [components] %-components%]

Creates a container, optionally filled with components.

Helpful?

Returned by

1

Syntaxes elsewhere in DiSky that return Container.

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.