new VoiceStates
src/collections/basecollection.ts:219new VoiceStates(client: ShardClient, options?: boolean | BaseClientCollectionOptions)VoiceState Collection
import { Collections } from 'detritus-client';
Collections.VoiceStates;new VoiceStates(client: ShardClient, options?: boolean | BaseClientCollectionOptions)[iterator](): IterableIterator<[string, VoiceState]>clear(): voiddelete(serverId: string): booleandelete(serverId: string | null | undefined, userId: string): booleanforEach(
func: (v: VoiceState, k: string, map: Map<string, VoiceState>) => void,
thisArg?: any,
): voidget(cacheKey: string): BaseCollection<string, VoiceState> | undefinedget(cacheKey: string | null | undefined, key: string): VoiceState | undefinedgetOrInsert(cacheKey: string, key: string, defaultValue: VoiceState): VoiceStategetOrInsertComputed(
cacheKey: string,
key: string,
func: (key: string) => VoiceState,
): VoiceStatehas(cacheKey: string): booleanhas(cacheKey: string | null | undefined, key: string): booleaninsert(voiceState: VoiceState): voidinsertCache(cacheKey: string): BaseCollection<string, VoiceState>keys(): IterableIterator<string>set(cacheKey: string, key: string, value: VoiceState): thissetEnabled(value: boolean): voidvalues(): IterableIterator<VoiceState>