Table of Contents
API reference

Method GetBridgeVoiceConnection

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Gets the bridge-mode VoiceConnection for the specified guild, if one is active.

public VoiceConnection? GetBridgeVoiceConnection(ulong guildId)

Parameters

guildId ulong

The guild snowflake.

Returns

VoiceConnection

The VoiceConnection when bridge mode is active and the guild is connected; otherwise null.