Package-level declarations

Properties

Link copied to clipboard

The Permissions that were missing.

Functions

Link copied to clipboard
suspend fun Link.connectAudio(snowflake: Snowflake)

Connects this link to the voice channel with the specified snowflake.

suspend fun Link.connectAudio(voiceChannel: VoiceChannel)

Connects this link to the voiceChannel.

Link copied to clipboard
suspend fun Node.destroyPlayer(guildId: Snowflake)
suspend fun RestNode.destroyPlayer(guildId: Snowflake, sessionId: String)

Destroys the player for this guild in this session.

Link copied to clipboard
fun GuildBehavior.getLink(lavalink: LavaKord): Link

Creates or returns an existing Link for this Guild using the lavalink instance.

fun LavaKord.getLink(guildId: Snowflake): Link

Creates or returns an existing Link for the guild with the specified guildId.

Link copied to clipboard
suspend fun Node.getPlayer(guildId: Snowflake): Player
suspend fun RestNode.getPlayer(guildId: Snowflake, sessionId: String): Player

Returns the Player for this guild in this session.

Link copied to clipboard
fun Kord.lavakord(configure: MutableLavaKordOptions.() -> Unit = {}): LavaKord

Creates a LavaKord instance for this Kord instance.

Link copied to clipboard
suspend fun Node.updatePlayer(guildId: Snowflake, noReplace: Boolean? = null, request: PlayerUpdate): Player
suspend fun RestNode.updatePlayer(guildId: Snowflake, sessionId: String, noReplace: Boolean? = null, request: PlayerUpdate): Player

Updates or creates the player for this guild if it doesn't already exist.