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

getGroups

export declare function getGroups(): Map<string, Map<string, VoiceConnection>>;
export declare function getGroups(): Map<string, Map<string, VoiceConnection>>;
Retrieves the map of group names to maps of voice connections. By default, all voice connections are created under the 'default' group.
Returns
The group map