aboutsummaryrefslogtreecommitdiff
path: root/discord/endpoints.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-08-26 22:26:06 -0400
committerRapptz <[email protected]>2015-08-26 22:26:06 -0400
commit29b71a7e88602fec594b2643bd234cc789c7829a (patch)
treeb128b890341f95cfdf56966ca7aa73ba6708fed4 /discord/endpoints.py
parentParse roles in the member building. (diff)
downloaddiscord.py-29b71a7e88602fec594b2643bd234cc789c7829a.tar.xz
discord.py-29b71a7e88602fec594b2643bd234cc789c7829a.zip
Move websocket hub to the new gateway.
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 315e63d1..6be7e01c 100644
--- a/discord/endpoints.py
+++ b/discord/endpoints.py
@@ -24,9 +24,9 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
-WEBSOCKET_HUB = 'wss://discordapp.com/hub'
BASE = 'https://discordapp.com'
API_BASE = BASE + '/api'
+GATEWAY = API_BASE + '/gateway'
USERS = API_BASE + '/users'
LOGIN = API_BASE + '/auth/login'
LOGOUT = API_BASE + '/auth/logout'