ChannelResponder

class ChannelResponder(channel: MessageChannel, message: Message) : ConversationResponder

Responder for a plain text conversation.

Constructors

Link copied to clipboard
fun ChannelResponder(channel: MessageChannel, message: Message)

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.