API reference
Method GetBridgeVoiceConnection
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
GetBridgeVoiceConnection(ulong)
Gets the bridge-mode VoiceConnection for the specified guild, if one is active.
public VoiceConnection? GetBridgeVoiceConnection(ulong guildId)
Parameters
guildIdulongThe guild snowflake.
Returns
- VoiceConnection
The VoiceConnection when bridge mode is active and the guild is connected; otherwise null.