You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

getVoiceConnections

export declare function getVoiceConnections(group?: 'default'): Map<string, VoiceConnection>;
export declare function getVoiceConnections(group?: 'default'): Map<string, VoiceConnection>;
Retrieves all the voice connections under the 'default' group.
Returns
The map of voice connections
NameTypeOptionalDescription
group'default'YesThe group to look up