diff options
| author | Rapptz <[email protected]> | 2016-04-26 19:38:54 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-04-27 18:36:13 -0400 |
| commit | 1c623ccf110723a4c0e00375b23b9f5838468ce9 (patch) | |
| tree | dd1b7d34d62679164edd5cbba53d0a10734f6f0b /discord/endpoints.py | |
| parent | Add compatibility layer for `run_coroutine_threadsafe`. (diff) | |
| download | discord.py-1c623ccf110723a4c0e00375b23b9f5838468ce9.tar.xz discord.py-1c623ccf110723a4c0e00375b23b9f5838468ce9.zip | |
Begin working on gateway v4 support.
Bump websockets requirement to v3.1
Should be squashed...
Diffstat (limited to 'discord/endpoints.py')
| -rw-r--r-- | discord/endpoints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/endpoints.py b/discord/endpoints.py index 0ef0efa9..ac99f74f 100644 --- a/discord/endpoints.py +++ b/discord/endpoints.py @@ -26,7 +26,7 @@ DEALINGS IN THE SOFTWARE. BASE = 'https://discordapp.com' API_BASE = BASE + '/api' -GATEWAY = API_BASE + '/gateway' +GATEWAY = API_BASE + '/gateway?encoding=json&v=4' USERS = API_BASE + '/users' ME = USERS + '/@me' REGISTER = API_BASE + '/auth/register' |