SlashResponder

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

Constructors

Link copied to clipboard
constructor(event: SlashCommandEvent<T>)

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?

The user response to the prompt.

Functions

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

Dynamically respond based on the context.