Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FetchGuildBans

Hierarchy

Index

Constructors

constructor

  • Parameters

    • Optional __namedParameters: object
      • expire: undefined | number
      • intervalTime: undefined | number
      • limit: undefined | number

    Returns FetchGuildBans

Properties

[Symbol.toStringTag]

[Symbol.toStringTag]: string

Optional _lastUsed

_lastUsed: Map<string, number>

cache

cache: Map<string, RawGuildBan>

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

Methods

[Symbol.iterator]

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

clear

  • clear(): void
  • Returns void

clone

  • Returns BaseCollection<string, RawGuildBan>

delete

  • delete(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

entries

  • Returns IterableIterator<[string, RawGuildBan]>

every

  • every(func: function): boolean
  • Parameters

    Returns boolean

filter

  • Parameters

    Returns Array<RawGuildBan>

find

  • Parameters

    Returns RawGuildBan | undefined

first

  • Returns RawGuildBan | undefined

forEach

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

    Returns void

get

  • Parameters

    • key: string

    Returns RawGuildBan | undefined

has

  • has(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

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

    • func: function
    • Optional initialValue: any

    Returns any

set

  • Parameters

    Returns this

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

  • sort(func?: undefined | function): Array<RawGuildBan>
  • Parameters

    • Optional func: undefined | function

    Returns Array<RawGuildBan>

startInterval

  • startInterval(): void
  • Returns void

stopInterval

  • stopInterval(): void
  • Returns void

toArray

  • Returns Array<RawGuildBan>

toJSON

  • Returns Array<RawGuildBan>

toString

  • toString(): string
  • Returns string

values

  • Returns IterableIterator<RawGuildBan>

Generated using TypeDoc