Optional
appendtrue 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
Optional
getReplaces the response normally recieved from GET /gateway/bot
. The url
function below will override the value returned here.
Optional
resumeURLOptional
url
If the compression/version information should be appended to the query.