Table of Contents

Method ConnectAsync

Namespace
DSharpPlus.Lavalink
Assembly
DSharpPlus.Lavalink.dll

Connects this Lavalink node to specified Discord channel.

public Task<LavalinkGuildConnection> ConnectAsync(DiscordChannel channel)

Parameters

channel DiscordChannel

Voice channel to connect to.

Returns

Task<LavalinkGuildConnection>

Channel connection, which allows for playback control.