Interface Ratelimit

Information on the ratelimits of the API

interface Ratelimit {
    apiKeys: number;
    channels: RatelimitChannel[];
    ping: number;
    recentRequestCount: number;
    totalOngoing: number;
    totalQueued: number;
}

Properties

apiKeys: number

The amount of API keys currently registered in the config

channels: RatelimitChannel[]

The ratelimit data per channel used

ping: number

The number of milliseconds the API took to respond, averaged over recent requests

recentRequestCount: number

The number of requests cast in the past 4 seconds

totalOngoing: number

The amount of requests currently being processed

totalQueued: number

The amount of requests currently awaiting to be processed

Generated using TypeDoc