Properties
Optional _client
_client?: any
remaining
remaining: number = 50
timings
timings: boolean = false
Accessors
durUntilReset
- get durUntilReset(): number
globalLimited
- get globalLimited(): boolean
Methods
getBucket
- getBucket(route: `/${string}`): string[]
Parameters
Returns string[]
makeRequest
Parameters
Returns Promise<ResponseData>
queue
Type parameters
Parameters
route: `/${string}`
Optional options: Omit<APIRequest<any>, "route">
Returns Promise<Response<T>>
Type parameters
Parameters
Returns Promise<Response<T>>
Queue managers for different buckets