Slash Conversation Builder
class SlashConversationBuilder<T : TypeContainer>( val discord: Discord, val user: User, event: SlashCommandEvent<T>, exitString: String? = null, timeout: Long) : ConversationBuilder
Content copied to clipboard
Constructors
Link copied to clipboard
fun <T : TypeContainer> SlashConversationBuilder( discord: Discord, user: User, event: SlashCommandEvent<T>, exitString: String? = null, timeout: Long)
Content copied to clipboard
Functions
Link copied to clipboard
open suspend override fun <S> promptButton(prompt: suspend ButtonPromptBuilder<S>.() -> Unit): S
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
open suspend override 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.