Table of Contents

Method DisconnectAsync

Namespace
DSharpPlus.Lavalink
Assembly
DSharpPlus.Lavalink.dll

Disconnects the connection from the voice channel.

public Task DisconnectAsync(bool shouldDestroy = true)

Parameters

shouldDestroy bool

Whether the connection should be destroyed on the Lavalink server when leaving.

Returns

Task