aboutsummaryrefslogtreecommitdiff
path: root/discord/endpoints.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-06-02 07:32:35 -0400
committerRapptz <[email protected]>2016-06-02 07:32:35 -0400
commitf6fa1e837a3672d7e6cc276a58a71c7c8cf7eca7 (patch)
tree29608f01479a220e3d3f24163f7c18b36f263002 /discord/endpoints.py
parentUpdate positions when a role is added or removed. (diff)
downloaddiscord.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.py2
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'