Table of Contents

Class LavalinkExtension

Namespace
DSharpPlus.Lavalink
Assembly
DSharpPlus.Lavalink.dll
[Obsolete("DSharpPlus.Lavalink is deprecated for removal.", true)]
public sealed class LavalinkExtension : BaseExtension
Inheritance
LavalinkExtension
Inherited Members

Properties

ConnectedNodes

Gets a dictionary of connected Lavalink nodes for the extension.

Methods

ConnectAsync(LavalinkConfiguration)

Connect to a Lavalink node.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetGuildConnection(DiscordGuild)

Gets a Lavalink guild connection from a DiscordGuild.

GetIdealNodeConnection(DiscordVoiceRegion)

Gets a Lavalink node connection based on load balancing and an optional voice region.

GetNodeConnection(ConnectionEndpoint)

Gets the Lavalink node connection for the specified endpoint.

Setup(DiscordClient)

DO NOT USE THIS MANUALLY.

Events

NodeDisconnected

Triggered whenever a node disconnects.