ApplicationCommandContext
The context for an interaction with an application command.
Properties
client
Link copied to clipboard
coroutineContext
Link copied to clipboard
event
Link copied to clipboard
interaction
Link copied to clipboard
interactionResponse
Link copied to clipboard
Inheritors
MessageCommandContext
Link copied to clipboard
SlashCommandContext
Link copied to clipboard
UserCommandContext
Link copied to clipboard
Extensions
acknowledge
Link copied to clipboard
Content copied to clipboard
Acknowledges the interaction indicating a response will be edited later. The user sees a loading state, visible to all participants in the invoking channel. For a "only you can see this" response, set ephemeral to true, or use acknowledgeEphemeral().
acknowledgeEphemeral
Link copied to clipboard
Acknowledges the interaction indicating a response will be edited later. Only the invoking user sees a loading state.
deferReply
Link copied to clipboard
suspend fun ApplicationCommandContext.deferReply(ephemeral: Boolean = false)
Content copied to clipboard
Acknowledges the interaction indicating a response will be edited later. The user sees a loading state, visible to all participants in the invoking channel. For a "only you can see this" response, set ephemeral to true.
Sources
jvm source
Link copied to clipboard