.getConnection(channelOrGuildId)
channelOrGuildId: string → VoiceConnection | LiveKitRtcConnection | undefined
Get the active voice connection for a channel or guild.
- channelOrGuildId
stringChannel ID (primary) or guild ID (returns first connection in that guild)
voiceManager.getConnection(channelOrGuildId);