add

Adds a custom text to the message.

Return

The MessageBuilder instance for method chaining.

Parameters

text

The text to add.


fun add(component: TextComponent): MessageBuilder

Adds a custom TextComponent to the message.

Return

The MessageBuilder instance for method chaining.

Parameters

component

The TextComponent to add.