You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

APIRequest

export declare interface APIRequest
export declare interface APIRequest

No summary provided.

The data that was used to form the body of this request
method:string
The HTTP method used in this request
options:RequestInit_2
Additional HTTP options for this request
The full path used to make the request
retries:number
The number of times this request has been attempted
route:string
The API route identifying the ratelimit for this request