aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-06-12 21:16:57 -0400
committerRapptz <[email protected]>2016-06-12 21:16:57 -0400
commitaecf0daf330dc4b1d10f973774134ff3dc8c4165 (patch)
treefade3b80e480b7d3ebf5a70fad01e4be6bd3cdd6
parentSupport more close codes for RESUME. (diff)
downloaddiscord.py-aecf0daf330dc4b1d10f973774134ff3dc8c4165.tar.xz
discord.py-aecf0daf330dc4b1d10f973774134ff3dc8c4165.zip
Fix sed error involved in creation of voice websocket.
-rw-r--r--discord/gateway.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/gateway.py b/discord/gateway.py
index 4a12ec43..01e6f7b1 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -475,7 +475,7 @@ class DiscordVoiceWebSocket(websockets.client.WebSocketClientProtocol):
'server_id': client.guild_id,
'user_id': client.user.id,
'session_id': client.session_id,
- 'token': client.http.token
+ 'token': client.token
}
}