You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#| Host to which to connect. Can be overridden for testing e.g.hasStr$.ws-host='gateway.discord.gg';
According to the documentation this behaviour is wrong. and in actuality we should be calling the Get Gateway or Get Gateway Bot endpoints for this information.
Currently, we hardcode the gateway URL like so;
According to the documentation this behaviour is wrong. and in actuality we should be calling the
Get Gateway
orGet Gateway Bot
endpoints for this information.https://discord.com/developers/docs/topics/gateway#connecting-gateway-url-params
https://discord.com/developers/docs/topics/gateway#get-gateway
https://discord.com/developers/docs/topics/gateway#get-gateway-bot
I think it's still useful to be able to override the gateway URL, so we should keep that in mind when refactoring.
The text was updated successfully, but these errors were encountered: