check Suspend
open suspend fun checkSuspend(event: GenericComponentInteractionCreateEvent, handlerName: String?): T?(source)
Returns null
if this filter should allow the component to be used, or returns your own object if not.
The object will be passed to your ComponentInteractionRejectionHandler if the component interaction is rejected.
Parameters
handler Name
The persistent handler name, as declared in JDAButtonListener/JDASelectMenuListener, might be null if there is no handler defined, or is ephemeral.