Table of Contents

Method GetPlayerAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Gets the lavalink player attached to guild.

Use GetGuildPlayer(DiscordGuild) if you want to interact with the actual player.

public Task<LavalinkPlayer> GetPlayerAsync(DiscordGuild guild)

Parameters

guild DiscordGuild

The guild to get the player for.

Returns

Task<LavalinkPlayer>

The found player or null.