API reference
Method GetGuildPlayer
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
GetGuildPlayer(DiscordGuild)
Gets a Lavalink guild player from a DiscordGuild.
public LavalinkGuildPlayer? GetGuildPlayer(DiscordGuild guild)
Parameters
guildDiscordGuildThe guild the player is on.
Returns
- LavalinkGuildPlayer
The found guild player, or null if one could not be found.