diff options
| author | Rapptz <[email protected]> | 2016-06-22 05:00:08 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-22 05:00:08 -0400 |
| commit | 8b3617111ae6c15120d1045ecbed0de4230ca59d (patch) | |
| tree | ed88d3e0a19fff9b0eb23b34c0ace555b2db2eff /discord/http.py | |
| parent | Fix bug with deleting private messages. (diff) | |
| download | discord.py-8b3617111ae6c15120d1045ecbed0de4230ca59d.tar.xz discord.py-8b3617111ae6c15120d1045ecbed0de4230ca59d.zip | |
Support for v5 Gateway.
Diffstat (limited to 'discord/http.py')
| -rw-r--r-- | discord/http.py | 2 |
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' |