Nostrum.Util.gateway
You're seeing just the function
gateway
, go back to Nostrum.Util module for more information.
Specs
Returns the gateway url and shard count for current websocket connections.
If by chance no gateway connection has been made, will fetch the url to use and store it for future use.