Manages API methods for VoiceStates and stores their cache.
Extends
CachedManager<Snowflake, VoiceState, typeof VoiceState>The cache of items for this manager.
Inherited from DataManagerThe client that instantiated this Manager
Inherited from BaseManagerThe data structure belonging to this manager.
Inherited from DataManagerObtains a user's voice state from discord or from the cache if it's already available.
Example
Name | Type | Optional | Description |
---|---|---|---|
member | GuildMemberResolvable | '@me' | No | The member whose voice state is to be fetched |
options | BaseFetchOptions | Yes | Additional options for this fetch |
Resolves a data entry to a data Object.
Returns
An instance from this ManagerName | Type | Optional | Description |
---|---|---|---|
idOrInstance | Holds | No | The id or instance of something in this Manager |
Resolves a data entry to an instance id.
Returns
Name | Type | Optional | Description |
---|---|---|---|
idOrInstance | Key | Holds | No | The id or instance of something in this Manager |