io.github.freya022.botcommands.api.components.event.EntitySelectEvent.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BotCommands Show documentation
Show all versions of BotCommands Show documentation
A Kotlin-first (and Java) framework that makes creating Discord bots a piece of cake, using the JDA library.
package io.github.freya022.botcommands.api.components.event
import io.github.freya022.botcommands.api.commands.ratelimit.CancellableRateLimit
import io.github.freya022.botcommands.api.core.BContext
import net.dv8tion.jda.api.events.interaction.component.EntitySelectInteractionEvent
class EntitySelectEvent internal constructor(
val context: BContext,
event: EntitySelectInteractionEvent,
cancellableRateLimit: CancellableRateLimit
) : EntitySelectInteractionEvent(event.jda, event.responseNumber, event.interaction),
CancellableRateLimit by cancellableRateLimit