Table of Contents
API reference

Method GetPlayersAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Gets all lavalink players.

Use GetGuildPlayersAsync() if you want to interact with the actual players.

public Task<IReadOnlyList<LavalinkPlayer>> GetPlayersAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IReadOnlyList<LavalinkPlayer>>

The found players or null.