Class: VoiceStateManager

VoiceStateManager

Manages API methods for VoiceStates and stores their cache.

Constructor

new VoiceStateManager()

Source:

Extends

Members

cache :Collection.<Snowflake, VoiceState>

The cache of this manager
Type:
Overrides:
Source:

cacheType :Collection

The type of Collection of the Manager
Type:
  • Collection
Overrides:
Source:

(readonly) client :Client

The client that instantiated this Manager
Type:
Overrides:
Source:

guild :Guild

The guild this manager belongs to
Type:
Source:

(private, readonly) holds :function

The data structure belonging to this manager
Type:
  • function
Overrides:
Source:

Methods

resolve(idOrInstance) → {Object}

Resolves a data entry to a data Object.
Parameters:
Name Type Description
idOrInstance string | Object The id or instance of something in this Manager
Overrides:
Source:
Returns:
An instance from this Manager
Type
Object

resolveID(idOrInstance) → {Snowflake}

Resolves a data entry to a instance ID.
Parameters:
Name Type Description
idOrInstance string | Object The id or instance of something in this Manager
Overrides:
Source:
Returns:
Type
Snowflake