![JAR search and dependency download from the Maven repository](/logo.png)
io.github.freya022.botcommands.internal.components.builder.AbstractActionableComponent.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.internal.components.builder
import io.github.freya022.botcommands.api.components.ComponentInteractionFilter
import io.github.freya022.botcommands.api.components.builder.IActionableComponent
import io.github.freya022.botcommands.api.core.BContext
internal sealed class AbstractActionableComponent>(
override val context: BContext,
override val instanceRetriever: InstanceRetriever
) : BuilderInstanceHolderImpl(), IActionableComponent {
override val filters: MutableList> = arrayListOf()
override var rateLimitGroup: String? = null
override fun rateLimitReference(group: String): T = instance.also {
this.rateLimitGroup = group
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy