Options
All
  • Public
  • Public/Protected
  • All
Menu

VoiceState Collection

Hierarchy

Index

Constructors

constructor

Properties

Readonly caches

caches: BaseCollection<string, BaseCollection<string, VoiceState>> = ...

client

client: ShardClient

enabled

enabled: boolean

Readonly options

options: BaseCollectionOptions = {}

Accessors

[Symbol.toStringTag]

  • get [Symbol.toStringTag](): string

length

  • get length(): number
  • Returns number

size

  • get size(): number

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<[string, VoiceState]>

clear

  • clear(): void

delete

  • delete(cacheKey: string): boolean
  • delete(cacheKey: undefined | null | string, key: string): boolean

entries

  • entries(): IterableIterator<[string, VoiceState]>

every

  • every(func: (v: VoiceState, k: string) => boolean): boolean

filter

find

first

forEach

  • forEach(func: (v: VoiceState, k: string, map: Map<string, VoiceState>) => void, thisArg?: any): void

get

has

  • has(cacheKey: string): boolean
  • has(cacheKey: undefined | null | string, key: string): boolean

insert

insertCache

join

  • join(separator?: string): string
  • Parameters

    • Optional separator: string

    Returns string

keys

  • keys(): IterableIterator<string>

map

  • map(func: (v: VoiceState, k: string) => any): any[]

reduce

  • reduce(func: (intial: any, v: VoiceState) => any, initialValue?: any): any

set

setEnabled

  • setEnabled(value: boolean): void

some

  • some(func: (v: VoiceState, k: string) => boolean): boolean

sort

toArray

toJSON

toString

  • toString(): string

values

Generated using TypeDoc