Skip to main content
Module

x/discord_api_types/v10.ts>RESTRateLimit

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTRateLimit
import { type RESTRateLimit } from "https://deno.land/x/discord_api_types@0.37.82/v10.ts";

Properties

optional
code: number

An error code for some limits

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.