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

io.github.freya022.botcommands.api.commands.text.provider.TextCommandProvider.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.text.provider

import io.github.freya022.botcommands.api.commands.annotations.Command
import io.github.freya022.botcommands.api.commands.text.annotations.JDATextCommandVariation
import io.github.freya022.botcommands.api.core.service.annotations.BService
import io.github.freya022.botcommands.api.core.service.annotations.InterfacedService

/**
 * Interface to declare text commands, ran once at startup.
 *
 * **Usage**: Register your instance as a service with [@BService][BService].
 *
 * @see Command @Command
 * @see JDATextCommandVariation @JDATextCommandVariation
 *
 * @see InterfacedService @InterfacedService
 */
@InterfacedService(acceptMultiple = true)
interface TextCommandProvider {
    fun declareTextCommands(manager: TextCommandManager)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy