UnsafeInteractionButton
open class UnsafeInteractionButton<M : UnsafeModalForm>(timeoutTask: Task?, val modal: () -> M? = null) : InteractionButtonWithAction<UnsafeInteractionComponentContext<M>, M>
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Initial response type. Change this to decide what happens when this button's action is executed.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend fun firstSentryBreadcrumb(context: UnsafeInteractionComponentContext<M>, button: InteractionButtonWithAction<*, *>)
Link copied to clipboard
open suspend fun handleError(context: UnsafeInteractionComponentContext<M>, t: Throwable, button: InteractionButtonWithAction<*, *>)
Link copied to clipboard
Link copied to clipboard
open suspend override fun respondText(context: UnsafeInteractionComponentContext<M>, message: Key, failureType: FailureReason<*>)
Link copied to clipboard
open suspend fun runChecks(event: ButtonInteractionCreateEvent, cache: MutableStringKeyedMap<Any>): Boolean
Link copied to clipboard
open suspend fun runStandardChecks(event: ButtonInteractionCreateEvent, cache: MutableStringKeyedMap<Any>): Boolean