Table of Contents
API reference

Method GetConnection

Namespace
DisCatSharp.Voice
Assembly
DisCatSharp.Voice.dll

GetConnection(DiscordGuild)

Gets a Voice connection for specified guild.

public VoiceConnection GetConnection(DiscordGuild guild)

Parameters

guild DiscordGuild

Guild to get Voice connection for.

Returns

VoiceConnection

Voice connection for the specified guild.