resolve Suspend
open suspend fun resolveSuspend(event: GenericComponentInteractionCreateEvent, arg: String): R?(source)
Returns a resolved object from this component interaction.
If this returns null
, and the parameter is required, i.e., not nullable or optional, the handler is ignored, but the interaction must be acknowledged.
Parameters
event
The corresponding event
arg
One of the data passed by the user in IPersistentActionableComponent.bindTo