Table of Contents

Class ExtensionMethods

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

The discord client extensions.

public static class ExtensionMethods
Inheritance
ExtensionMethods
Inherited Members

Methods

ConnectAsync(DiscordChannel, LavalinkSession)

Connects to this voice channel using Lavalink.

GetLavalink(DiscordClient)

Gets the active instance of the Lavalink client for the DiscordClient.

GetLavalinkAsync(DiscordShardedClient)

Retrieves a LavalinkExtension instance for each shard.

UseLavalink(DiscordClient)

Creates a new Lavalink client with specified settings.

UseLavalinkAsync(DiscordShardedClient)

Creates new Lavalink clients on all shards in a given sharded client.