Method GetGuildConnection
- Namespace
- DSharpPlus.Lavalink
- Assembly
- DSharpPlus.Lavalink.dll
GetGuildConnection(DiscordGuild)
Gets a Lavalink guild connection from a DiscordGuild.
public LavalinkGuildConnection GetGuildConnection(DiscordGuild guild)
Parameters
guild
DiscordGuildThe guild the connection is on.
Returns
- LavalinkGuildConnection
The found guild connection, or null if one could not be found.