Optional
agentnull
Optional
baseURLThe base URL to use for requests - must be a fully qualified url.
https://discordapp.com/api/v{REST_VERSION}
Optional
disableIf the built-in latency compensator should be disabled.
false
Optional
hostThe Host
header to use for requests.
Parsed from baseURL
Optional
latencyIn milliseconds, the average request latency at which to start emitting latency errors.
30000
Optional
ratelimiterIn milliseconds, the time to offset ratelimit calculations by.
0
Optional
requestIn milliseconds, how long to wait until a request is timed out.
15000
Optional
superA value for the X-Super-Properties
header, sent with all requests if present. This can be used to reveal some properties only visible to >= client builds. Provide either an object, or a base64 encoded string.
eyJjbGllbnRfYnVpbGRfbnVtYmVyIjoxNjI5OTJ9
{ client_build_number: 162992 }
null
Optional
userThe User-Agent
header to use for requests.
Oceanic/{VERSION} (https://github.com/OceanicJS/Oceanic)
The agent to use for requests.