Method GetGuildConnection
- Namespace
- DSharpPlus.Lavalink
- Assembly
- DSharpPlus.Lavalink.dll
GetGuildConnection(DiscordGuild)
Gets a Lavalink connection to specified Discord channel.
public LavalinkGuildConnection GetGuildConnection(DiscordGuild guild)
Parameters
guild
DiscordGuildGuild to get connection for.
Returns
- LavalinkGuildConnection
Channel connection, which allows for playback control.