Table of Contents
API reference

Method ConnectAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Connects to this voice channel using Lavalink.

public static Task ConnectAsync(this DiscordChannel channel, LavalinkSession session, bool deafened = true, bool muted = false)

Parameters

channel DiscordChannel

Channel to connect to.

session LavalinkSession

Lavalink session to connect through.

deafened bool

Whether to join the channel deafened.

muted bool

Whether to join the channel muted.

Returns

Task

If successful, the Lavalink client.