UnsafeCommandMessageCommandContext
class UnsafeCommandMessageCommandContext<M : UnsafeModalForm>(val event: MessageCommandInteractionCreateEvent, val command: MessageCommand<UnsafeCommandMessageCommandContext<M>, M>, var interactionResponse: MessageInteractionResponseBehavior?, cache: <Error class: unknown class><Any>) : MessageCommandContext<UnsafeCommandMessageCommandContext<M>, M> , UnsafeCommandInteractionContext
Command context for an unsafe message command.
Constructors
Link copied to clipboard
constructor(event: MessageCommandInteractionCreateEvent, command: MessageCommand<UnsafeCommandMessageCommandContext<M>, M>, interactionResponse: MessageInteractionResponseBehavior?, cache: <Error class: unknown class><Any>)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Response created by acknowledging the interaction. Generic.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
open suspend override fun ackEphemeral(builder: suspend InteractionResponseCreateBuilder.() -> Unit?): EphemeralMessageInteractionResponseBehavior
Send an ephemeral ack if you haven't acknowledged the interaction yet.
Link copied to clipboard
open suspend override fun editingPaginator(defaultGroup: Key, locale: Locale?, builder: suspend PaginatorBuilder.() -> Unit): BaseButtonPaginator
Create a paginator that edits the original interaction.
Link copied to clipboard
Link copied to clipboard
open suspend override fun respondEphemeral(builder: suspend FollowupMessageCreateBuilder.() -> Unit): EphemeralFollowupMessage
Respond to the current interaction with an ephemeral followup.
Link copied to clipboard
open suspend override fun respondingPaginator(defaultGroup: Key, locale: Locale?, builder: suspend PaginatorBuilder.() -> Unit): BaseButtonPaginator
Create a paginator that creates a public follow-up message and edits it.
Link copied to clipboard
open suspend override fun respondPublic(builder: suspend FollowupMessageCreateBuilder.() -> Unit): PublicFollowupMessage
Respond to the current interaction with a public followup.