bind To
Binds the given handler name with its arguments to this component.
Handler data
The data passed is transformed with toString, except snowflakes which get their IDs stored.
The data can only be reconstructed if a ComponentParameterResolver exists for the handler's parameter type.
Remember the parameters need to be annotated with @ComponentData.
Parameters
The name of the handler to run when the button is clicked, defined by either JDAButtonListener or JDASelectMenuListener
The data to pass to the component handler
Deprecated
Nothing else to be configured than the data, will be removed, pass your data to bindTo directly
Binds the given handler name with its arguments to this component.
Parameters
The name of the handler to run when the button is clicked, defined by either JDAButtonListener or JDASelectMenuListener