Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VoiceConnections

VoiceConnections Collection

Hierarchy

Index

Constructors

constructor

Properties

Optional _lastUsed

_lastUsed: Map<string, number>

cache

cache: Map<string, VoiceConnection>

client

client: ShardClient

enabled

enabled: boolean

Optional expire

expire: undefined | number

Optional interval

interval: Timers.Interval

intervalTime

intervalTime: number

lastUsed

lastUsed: Map<string, number>

length

length: number

limit

limit: number

shouldStartInterval

shouldStartInterval: boolean

size

size: number

Accessors

[Symbol.toStringTag]

  • get [Symbol.toStringTag](): string
  • Returns string

Methods

[Symbol.iterator]

  • Returns IterableIterator<[string, VoiceConnection]>

clear

  • clear(): void
  • Returns void

clone

  • Returns BaseCollection<string, VoiceConnection>

delete

  • delete(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

entries

  • Returns IterableIterator<[string, VoiceConnection]>

every

  • every(func: function): boolean
  • Parameters

    Returns boolean

filter

  • Parameters

    Returns Array<VoiceConnection>

find

  • Parameters

    Returns VoiceConnection | undefined

first

  • Returns VoiceConnection | undefined

forEach

  • forEach(func: function, thisArg?: any): void
  • Parameters

    Returns void

get

  • Parameters

    • key: string

    Returns VoiceConnection | undefined

has

  • has(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

insert

  • Parameters

    Returns void

join

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

    • Optional separator: undefined | string

    Returns string

keys

  • keys(): IterableIterator<string>
  • Returns IterableIterator<string>

map

  • map(func: function): Array<any>
  • Parameters

    Returns Array<any>

reduce

  • reduce(func: function, initialValue?: any): any
  • Parameters

    Returns any

set

  • Parameters

    Returns this

setEnabled

  • setEnabled(value: boolean): void

setExpire

  • setExpire(value: number): this
  • Parameters

    • value: number

    Returns this

setIntervalTimeout

  • setIntervalTimeout(value: number): this
  • Parameters

    • value: number

    Returns this

some

  • some(func: function): boolean
  • Parameters

    Returns boolean

sort

  • Parameters

    • Optional func: undefined | function

    Returns Array<VoiceConnection>

startInterval

  • startInterval(): void
  • Returns void

stopInterval

  • stopInterval(): void
  • Returns void

toArray

  • Returns Array<VoiceConnection>

toJSON

  • Returns Array<VoiceConnection>

toString

  • toString(): string
  • Returns string

values

  • Returns IterableIterator<VoiceConnection>

Generated using TypeDoc