RESTRateLimit

https://discord.com/developers/docs/topics/rate-limits#exceeding-a-rate-limit-rate-limit-response-structure

Signature

export interface RESTRateLimit

Properties

4

Methods

0

No methods.

Properties

code?: number;

An error code for some limits {@link RESTJSONErrorCodes }

global: boolean;

A value indicating if you are being globally rate limited or not

message: string;

A message saying you are being rate limited.

retry_after: number;

The number of seconds to wait before submitting another request.