diff options
| author | Rapptz <[email protected]> | 2016-06-02 07:32:35 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-02 07:32:35 -0400 |
| commit | f6fa1e837a3672d7e6cc276a58a71c7c8cf7eca7 (patch) | |
| tree | 29608f01479a220e3d3f24163f7c18b36f263002 /discord/endpoints.py | |
| parent | Update positions when a role is added or removed. (diff) | |
| download | discord.py-f6fa1e837a3672d7e6cc276a58a71c7c8cf7eca7.tar.xz discord.py-f6fa1e837a3672d7e6cc276a58a71c7c8cf7eca7.zip | |
Actually use v4 gateway and fixes thanks to Jake.
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 ac99f74f..0ef0efa9 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?encoding=json&v=4' +GATEWAY = API_BASE + '/gateway' USERS = API_BASE + '/users' ME = USERS + '/@me' REGISTER = API_BASE + '/auth/register' |