io.github.freya022.botcommands.internal.commands.application.options.ApplicationGeneratedOption.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.
The newest version!
package io.github.freya022.botcommands.internal.commands.application.options
import io.github.freya022.botcommands.api.commands.application.options.ApplicationCommandParameter
import io.github.freya022.botcommands.internal.commands.application.options.builder.ApplicationGeneratedOptionBuilderImpl
import io.github.freya022.botcommands.internal.core.options.AbstractGeneratedOption
internal class ApplicationGeneratedOption internal constructor(
override val parent: ApplicationCommandParameter,
generatedOptionBuilder: ApplicationGeneratedOptionBuilderImpl
) : AbstractGeneratedOption(generatedOptionBuilder.optionParameter) {
override val executable get() = parent.executable
val generatedValueSupplier = generatedOptionBuilder.generatedValueSupplier
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy