function getVoiceConnection

export declare function getVoiceConnection(guildId: string, group?: string): VoiceConnection | undefined;

Finds a voice connection with the given guild id and group. Defaults to the 'default' group.

Returns: The voice connection, if it exists

Parameters

guildId: string
The guild id of the voice connection
optional
group?: string
the group that the voice connection was registered with