Skip to content

APIRequest

typedef · Source

Represents a request that will or has been made to the Discord API Type: Object

Properties

method

method: HTTPMethod

The HTTP method used in this request

path

path: string

The full path used to make the request

route

route: string

The API route identifying the rate limit for this request

options

options: Object

Additional options for this request

retries

retries: number

The number of times this request has been attempted

Unofficial software. Not affiliated with or supported by Discord.