Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The behavior of an ActionInteraction that can be responded to with a popup modal.

Functions

Link copied to clipboard
fun ActionInteractionBehavior(id: Snowflake, channelId: Snowflake, token: String, applicationId: Snowflake, kord: Kord, strategy: EntitySupplyStrategy<*> = kord.resources.defaultStrategy): ActionInteractionBehavior
Link copied to clipboard
fun ComponentInteractionBehavior(id: Snowflake, channelId: Snowflake, token: String, applicationId: Snowflake, kord: Kord, strategy: EntitySupplyStrategy<*> = kord.resources.defaultStrategy): ComponentInteractionBehavior
Link copied to clipboard
fun GuildInteractionBehavior(guildId: Snowflake, id: Snowflake, channelId: Snowflake, applicationId: Snowflake, token: String, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier): GuildInteractionBehavior
Link copied to clipboard
inline suspend fun ModalParentInteractionBehavior.modal(title: String, customId: String, builder: ModalBuilder.() -> Unit): PopupInteractionResponseBehavior

Responds to the interaction with a popup modal.

Link copied to clipboard
inline suspend fun ActionInteractionBehavior.respondEphemeral(builder: InteractionResponseCreateBuilder.() -> Unit): EphemeralMessageInteractionResponseBehavior

Responds to the interaction with an ephemeral message.

Link copied to clipboard
inline suspend fun ActionInteractionBehavior.respondPublic(builder: InteractionResponseCreateBuilder.() -> Unit): PublicMessageInteractionResponseBehavior

Responds to the interaction with a public message.

Link copied to clipboard
inline suspend fun <T> AutoCompleteInteractionBehavior.suggest(choices: List<Choice<T>>)

Responds to the interaction with choices to this auto-complete request.

Link copied to clipboard
inline suspend fun AutoCompleteInteractionBehavior.suggestInt(builder: IntegerOptionBuilder.() -> Unit)

Responds to the interaction with the int choices specified by builder.

Link copied to clipboard
inline suspend fun AutoCompleteInteractionBehavior.suggestNumber(builder: NumberOptionBuilder.() -> Unit)

Responds to the interaction with the number choices specified by builder.

Link copied to clipboard
inline suspend fun AutoCompleteInteractionBehavior.suggestString(builder: StringChoiceBuilder.() -> Unit)

Responds to the interaction with the string choices specified by builder.

Link copied to clipboard
inline suspend fun ComponentInteractionBehavior.updateEphemeralMessage(builder: UpdateMessageInteractionResponseCreateBuilder.() -> Unit): EphemeralMessageInteractionResponseBehavior

Responds to the interaction by updating the original ephemeral message.

Link copied to clipboard
inline suspend fun ComponentInteractionBehavior.updatePublicMessage(builder: UpdateMessageInteractionResponseCreateBuilder.() -> Unit): PublicMessageInteractionResponseBehavior

Responds to the interaction by updating the original public message.