ContextAction

interface ContextAction<T>

Types

Companion
Link copied to clipboard
object Companion

Functions

queue
Link copied to clipboard
open fun queue(ephemeral: Boolean = false)

Queue the request and don't wait for the response.

reply
Link copied to clipboard
abstract fun reply(ephemeral: Boolean = false): ReplyAction

Send a reply message to the interaction.

send
Link copied to clipboard
abstract fun send(ephemeral: Boolean = false): WebhookMessageAction<Message>

Send a followup message to the interaction.

Properties

ctx
Link copied to clipboard
abstract val ctx: SlashCommandContext
original
Link copied to clipboard
abstract val original: T

Inheritors

EmbedContextAction
Link copied to clipboard
MessageContextAction
Link copied to clipboard