replyWithEvent

fun replyWithEvent(message: Component, event: ClickEvent)

Sends a message with a click event to the command sender.

Parameters

message

The message component to send

event

The click event to attach to the message