Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RestOptions

Options for the REST Manager

Hierarchy

  • RestOptions

Index

Properties

api: string
defaultvalue

https://discord.com/api

cdn: string
defaultvalue

https://cdn.discordapp.com

forceStatic: boolean

Default value for ImageURLOptions.forceStatic

defaultvalue

false

gift: string
defaultvalue

https://discord.gift

globalRequestsPerSecond: number

How many requests to allow sending per second (Infinity for unlimited, 50 for the standard global limit used by Discord)

invite: string
defaultvalue

https://discord.gg

retries: number

The number of retries for errors with the 500 code, or errors that timeout

scheduledEvent: string
defaultvalue

https://discord.com/events

template: string
defaultvalue

https://discord.new

Generated using TypeDoc version 0.22.16, the 9/16/2022 at 1:09:17 AM