Conversation Builder
abstract class ConversationBuilder( val discord: Discord, val user: User, val channel: MessageChannel, exitString: String? = null, timeout: Long) : Responder
Content copied to clipboard
DSL for building a conversation.
Constructors
Link copied to clipboard
fun ConversationBuilder( discord: Discord, user: User, channel: MessageChannel, exitString: String? = null, timeout: Long)
Content copied to clipboard
Functions
Link copied to clipboard
abstract suspend fun <T> promptButton(prompt: suspend ButtonPromptBuilder<T>.() -> Unit): T
Content copied to clipboard
Prompt the user with an embed and the provided buttons. Requires a call to both ButtonPromptBuilder.embed and ButtonPromptBuilder.buttons.
Link copied to clipboard
abstract suspend fun promptSelect(builder: SimpleSelectBuilder.() -> Unit): List<String>
Content copied to clipboard
Prompt the user with a select menu.
Link copied to clipboard
Link copied to clipboard
open suspend fun respondMenu(menuBuilder: suspend MenuBuilder.() -> Unit): Message
Content copied to clipboard
Respond with a Menu.