API reference
Method DestroyAsync
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
DestroyAsync(CancellationToken)
Destroys the current session, disconnecting all players.
public Task DestroyAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe cancellation token.