withSuggestCommand

infix fun Style.withSuggestCommand(command: String): @NotNull Style

Sets the click event of this style to suggest a command.

Return

The style with the applied click event

Parameters

command

The command to suggest when clicked