Class LavalinkExtension
- Namespace
- DSharpPlus.Lavalink
- Assembly
- DSharpPlus.Lavalink.dll
[Obsolete("DSharpPlus.Lavalink is deprecated for removal.", true)]
public sealed class LavalinkExtension
- Inheritance
-
LavalinkExtension
Properties
- ConnectedNodes
Gets a dictionary of connected Lavalink nodes for the extension.
Methods
- ConnectAsync(LavalinkConfiguration)
Connect to a Lavalink node.
- 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.