Table of Contents
API reference

Method StopAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Stops the player.

public Task<LavalinkGuildPlayer> StopAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<LavalinkGuildPlayer>

The updated guild player.