Method GetConnection
- Namespace
- DSharpPlus.VoiceNext
- Assembly
- DSharpPlus.VoiceNext.dll
GetConnection(DiscordGuild)
Gets a VoiceNext connection for specified guild.
public VoiceNextConnection? GetConnection(DiscordGuild guild)
Parameters
guild
DiscordGuildGuild to get VoiceNext connection for.
Returns
- VoiceNextConnection
VoiceNext connection for the specified guild.