Package-level declarations

Types

Link copied to clipboard
sealed class AbstractLavakordJda : VoiceDispatchInterceptor, EventListener, LavakordJdaBase

Internal class.

Link copied to clipboard

Bridge between LavaKord and JDA.

Link copied to clipboard
interface LavakordJdaBase

Response of Lavakord builders

Link copied to clipboard

Bridge between ShardManager and JDA.

Link copied to clipboard
interface LJDA : LavakordJdaBase

Result of a JDA Lavakord builder.

Link copied to clipboard

Result of a ShardManager Lavakord builder.

Functions

Link copied to clipboard
fun JDABuilder.applyLavakord(jda: LavaKordJDA): JDABuilder

Applies all needed options of this jda to this JDABuilder.

fun DefaultShardManagerBuilder.applyLavakord(shardManager: LavaKordShardManager): DefaultShardManagerBuilder

Applies all needed options of this shardManager to this DefaultShardManagerBuilder.

Link copied to clipboard
suspend fun JDABuilder.buildWithLavakord(executor: CoroutineContext? = null, options: MutableLavaKordOptions = MutableLavaKordOptions(), builder: MutableLavaKordOptions.() -> Unit = {}): LJDA

Builds a new LavaKordJDA and applies builder to it.

suspend fun DefaultShardManagerBuilder.buildWithLavakord(executor: CoroutineContext? = null, options: MutableLavaKordOptions = MutableLavaKordOptions(), builder: MutableLavaKordOptions.() -> Unit = {}): LShardManager

Builds a new LavaKordShardManager and applies builder to it.

Link copied to clipboard
suspend fun JDA.lavakord(jda: LavaKordJDA, executor: CoroutineContext? = null, options: MutableLavaKordOptions = MutableLavaKordOptions(), builder: MutableLavaKordOptions.() -> Unit = {}): LavaKord
suspend fun ShardManager.lavakord(shardManager: LavaKordShardManager, executor: CoroutineContext? = null, options: MutableLavaKordOptions = MutableLavaKordOptions(), builder: MutableLavaKordOptions.() -> Unit = {}): LavaKord

Builds the LavaKord instance for this ShardManager.