getVoiceConnection
export declare function getVoiceConnection(guildId: string, group?: string): VoiceConnection | undefined;
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.
Name | Type | Optional | Description |
---|---|---|---|
guildId | string | No | The guild id of the voice connection |
group | string | Yes | the group that the voice connection was registered with |