FollowupResponder

class FollowupResponder(botResponse: PublicMessageInteractionResponseBehavior, followupMessage: PublicFollowupMessage? = null) : ConversationResponder

Constructors

Link copied to clipboard
fun FollowupResponder(botResponse: PublicMessageInteractionResponseBehavior, followupMessage: PublicFollowupMessage? = null)

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.