aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-06-22 05:00:08 -0400
committerRapptz <[email protected]>2016-06-22 05:00:08 -0400
commit8b3617111ae6c15120d1045ecbed0de4230ca59d (patch)
treeed88d3e0a19fff9b0eb23b34c0ace555b2db2eff /discord/http.py
parentFix bug with deleting private messages. (diff)
downloaddiscord.py-8b3617111ae6c15120d1045ecbed0de4230ca59d.tar.xz
discord.py-8b3617111ae6c15120d1045ecbed0de4230ca59d.zip
Support for v5 Gateway.
Diffstat (limited to 'discord/http.py')
-rw-r--r--discord/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py
index d7e90b88..992d7635 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -497,4 +497,4 @@ class HTTPClient:
data = yield from self.get(self.GATEWAY, bucket=_func_())
except HTTPException as e:
raise GatewayNotFound() from e
- return data.get('url') + '?encoding=json&v=4'
+ return data.get('url') + '?encoding=json&v=5'