text
Adds a new text component to the message.
Parameters
text
The component's text to display.
init
Function to apply formatting in a declarative style.
Convenience method to build a simple colorized message. For more flexible messages, use the overloaded version.
Parameters
text
The message text.
color
The text color.
Adds a new text component to the message.
Parameters
component
The component to display.
init
Function to apply formatting in a declarative style.