diff options
Diffstat (limited to 'discord/gateway.py')
| -rw-r--r-- | discord/gateway.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/gateway.py b/discord/gateway.py index 928e37be..4d2c9cca 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -199,6 +199,8 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): ws._dispatch = client.dispatch ws.gateway = gateway + client.connection._update_references(ws) + log.info('Created websocket connected to {}'.format(gateway)) if not resume: yield from ws.identify() |