separator

inline fun separator(uniqueId: Int = -1, isDivider: Boolean = true, spacing: Separator.Spacing = Separator.Spacing.SMALL, block: InlineSeparator.() -> Unit = {})(source)

See Separator.

This requires Components V2 to be enabled.

Parameters

uniqueId

Unique identifier of this component

isDivider

true if the separator should be visible

spacing

The amount of spacing this separator should provide

block

Lambda allowing further configuration