Table of Contents
API reference

Method GetGuildPlayer

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Gets a Lavalink guild player from a DiscordGuild.

public LavalinkGuildPlayer? GetGuildPlayer(DiscordGuild guild)

Parameters

guild DiscordGuild

The guild the player is on.

Returns

LavalinkGuildPlayer

The found guild player, or null if one could not be found.