BotCommands

Entry point for the BotCommands framework.

The only requirement for a basic bot is a service extending JDAService, learn more on the wiki.

Spring support

Spring users must not use this, the framework will autoconfigure itself.

See also

@BService

@InterfacedService

@Command

Functions

Link copied to clipboard
fun create(configConsumer: BConfigBuilder.() -> Unit): BContext

Creates a new instance of the framework.

Link copied to clipboard
@JvmName(name = "create")
fun createJava(configConsumer: ReceiverConsumer<BConfigBuilder>): BContext

Creates a new instance of the framework.