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 followIf redirects should be followed.
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 maxIn milliseconds, the maximum ratelimit delay (in milliseconds) the lib will internally wait for to retry the request. If a ratelimit resets after this window, an error will be thrown instead.
This currently defaults to Infinity for backwards compatibility, but this will be changed in 1.12.0.
Infinity
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.