Class: ClientVoiceManager

ClientVoiceManager

Manages voice connections for the client

Constructor

new ClientVoiceManager()

Source:

Members

broadcasts :Array.<VoiceBroadcast>

Active voice broadcasts that have been created
Type:
Source:

(readonly) client :Client

The client that instantiated this voice manager
Type:
Source:

connections :Collection.<Snowflake, VoiceConnection>

A collection mapping connection IDs to the Connection objects
Type:
Source:

Methods

createBroadcast() → {VoiceBroadcast}

Creates a voice broadcast.
Source:
Returns:
Type
VoiceBroadcast

(private) joinChannel(channel) → {Promise.<VoiceConnection>}

Sets up a request to join a voice channel.
Parameters:
Name Type Description
channel VoiceChannel The voice channel to join
Source:
Returns:
Type
Promise.<VoiceConnection>