SlashResponder

class SlashResponder<T : TypeContainer>(event: SlashCommandEvent<T>) : ConversationResponder

Constructors

Link copied to clipboard
fun <T : TypeContainer> SlashResponder(event: SlashCommandEvent<T>)

Functions

Link copied to clipboard
open suspend override fun respond(builder: suspend MessageCreateBuilder.() -> Unit): ConversationResponder

Dynamically respond based on the context.

Properties

Link copied to clipboard
open override val promptMessage: Message

The message the user is responding to.

Link copied to clipboard
open override var userResponse: Message? = null

The user response to the prompt.