$addTextDisplay

Components v2

Adds a text display component.

Syntax

$addTextDisplay[Content;(Container/Section name)]

Limit

This function counts as a component. A message can have a maximum of 40 components. One section can have only 3 components.

Parameters

  • Content (Type: String || Flag: Required): The text that will be displayed. The total number of characters in the message, section and container bodies cannot exceed 4000 characters.

Info

Supports discord highlighting.

  • Container/Section name (Type: String || Flag: Optional): The name of the container body or section to which the component will be attached. If nothing is specified, it will be attached to the message.

Example

$nomention
$addTextDisplay[Simple text]
$addContainer[Container1;#673ab7;false]
$addTextDisplay[Hello world!;Container1]
!example Simple text Hello world!

What is this?

How $addContainer[] works?