commonMain.event.interaction.AutoCompleteInteractionCreate.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kord-core-jvm Show documentation
Show all versions of kord-core-jvm Show documentation
Idiomatic Kotlin Wrapper for The Discord API
The newest version!
package dev.kord.core.event.interaction
import dev.kord.core.Kord
import dev.kord.core.entity.interaction.AutoCompleteInteraction
import dev.kord.core.entity.interaction.GlobalAutoCompleteInteraction
import dev.kord.core.entity.interaction.GuildAutoCompleteInteraction
import dev.kord.core.event.Event
/** An [Event] that fires when an [AutoCompleteInteraction] is created. */
public sealed interface AutoCompleteInteractionCreateEvent : DataInteractionCreateEvent {
override val interaction: AutoCompleteInteraction
}
/** An [Event] that fires when a [GlobalAutoCompleteInteraction] is created. */
public class GlobalAutoCompleteInteractionCreateEvent(
override val kord: Kord,
override val shard: Int,
override val interaction: GlobalAutoCompleteInteraction,
override val customContext: Any?,
) : AutoCompleteInteractionCreateEvent
/** An [Event] that fires when a [GuildAutoCompleteInteraction] is created. */
public class GuildAutoCompleteInteractionCreateEvent(
override val kord: Kord,
override val shard: Int,
override val interaction: GuildAutoCompleteInteraction,
override val customContext: Any?,
) : AutoCompleteInteractionCreateEvent
© 2015 - 2024 Weber Informatics LLC | Privacy Policy