UnsafeInteractionContext
interface UnsafeInteractionContext<R : MessageInteractionResponseBehavior, E : InteractionCreateEvent>
Interface representing a generic, unsafe interaction action context.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun ackEphemeral(builder: suspend InteractionResponseCreateBuilder.() -> Unit? = null): EphemeralMessageInteractionResponseBehavior
Send an ephemeral ack if you haven't acknowledged the interaction yet.
Link copied to clipboard
abstract suspend fun editingPaginator(defaultGroup: Key = EMPTY_KEY, locale: Locale? = null, builder: suspend PaginatorBuilder.() -> Unit): BaseButtonPaginator
Create a paginator that edits the original interaction.
Link copied to clipboard
abstract suspend fun respondEphemeral(builder: suspend FollowupMessageCreateBuilder.() -> Unit): EphemeralFollowupMessage
Respond to the current interaction with an ephemeral followup.
Link copied to clipboard
abstract suspend fun respondingPaginator(defaultGroup: Key = EMPTY_KEY, locale: Locale? = null, builder: suspend PaginatorBuilder.() -> Unit): BaseButtonPaginator
Create a paginator that creates a public follow-up message and edits it.
Link copied to clipboard
abstract suspend fun respondPublic(builder: suspend FollowupMessageCreateBuilder.() -> Unit): PublicFollowupMessage
Respond to the current interaction with a public followup.