All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.freya022.botcommands.api.commands.application.options.ApplicationCommandParameter.kt Maven / Gradle / Ivy

Go to download

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.api.commands.application.options

import io.github.freya022.botcommands.api.commands.application.ApplicationCommandInfo
import io.github.freya022.botcommands.api.commands.options.CommandParameter

/**
 * Represents an application command parameter,
 * which has its value computed by an aggregation function, from one or more options.
 */
interface ApplicationCommandParameter : CommandParameter {
    override val nestedAggregatedParameters: List

    @Deprecated("Renamed to 'executable'", replaceWith = ReplaceWith("executable"))
    override val command: ApplicationCommandInfo get() = executable
    override val executable: ApplicationCommandInfo
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy