bind To
Binds the given handler name with its arguments to this component.
Handler data
The data passed is serialized and later deserialized using their resolver.
Each passed object needs to correspond to a parameter of the function (in the declaration order, excluding non-data parameters).
For objects supported by default (see ParameterResolver) and by other ComponentParameterResolvers, you must annotate your parameter with @ComponentData.
For serializable objects, you can instead use @SerializableComponentData.
Parameters
handler Name
The name of the handler to run when the button is clicked, defined by either JDAButtonListener or JDASelectMenuListener
data
The data to pass to the component handler