add
Adds a custom text to the message.
Return
The MessageBuilder instance for method chaining.
Parameters
text
The text to add.
Adds a custom TextComponent to the message.
Return
The MessageBuilder instance for method chaining.
Parameters
component
The TextComponent to add.