$addSeparator

Components v2

Adds a separator component to the container body or message.

Syntax

$addSeparator[(Divider?;Spacing type;Container name)]

Limit

This function counts as a container component. A message can have a maximum of 40 components.

Parameters

  • Divider? (Type: Bool || Flag: Vacantable): Should the message show a visual divider?
  • Spacing type (Type: Enum || Flag: Vacantable): Type of the divider. Possible types.
  • Container name (Type: String || Flag: Optional): The name of the container body to which the component will be attached. If nothing is specified, it will be attached to the message.

Spacing Types

  • small
  • large

Example

$nomention
$addTextDisplay[Hello world!]
$addSeparator[]
$addTextDisplay[I love BDFD]
$addSeparator[false]
$addTextDisplay[Components v2]

What is this?

How $addTextDisplay[] works?