diff options
| author | Rapptz <[email protected]> | 2016-06-01 05:20:22 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-01 05:20:22 -0400 |
| commit | 8638ff44142219e45c565e2b4871a7471b403297 (patch) | |
| tree | 0552d65a8709e088ba6d19c46909d693b9531bd5 /discord/gateway.py | |
| parent | Add RESUME support. (diff) | |
| download | discord.py-8638ff44142219e45c565e2b4871a7471b403297.tar.xz discord.py-8638ff44142219e45c565e2b4871a7471b403297.zip | |
Update voice client main ws references when reconnecting.
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() |