Optional
getOptional
resumeURLOptional
urlOptional
appendIf the compression/version information should be appended to the query.
true if getBot
and url
are undefined, false otherwise
Optional
gatewayURLIsIf the gateway url should be used for resuming.
false if getBot
or url
are present, true otherwise
Optional
timeThe amount time in milliseconds to wait between shard connects. Discord only allows one connection per 5 seconds.
5000
Replaces the response normally recieved from
GET /gateway/bot
. Theurl
function below will override the value returned here.