aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-02-08 20:44:35 -0500
committerRapptz <[email protected]>2017-02-08 20:46:38 -0500
commite6c5e40ab06192eebebe738cafd2f1bc385bc249 (patch)
treeb9ce7b97e2a9090a3da714cf25e84cd0fb8d9d5d
parentAdd missing continue statement in gateway futures. (diff)
downloaddiscord.py-e6c5e40ab06192eebebe738cafd2f1bc385bc249.tar.xz
discord.py-e6c5e40ab06192eebebe738cafd2f1bc385bc249.zip
Remove unused constants in HTTPClient
-rw-r--r--discord/http.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/discord/http.py b/discord/http.py
index 24510be4..585dd7b0 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -85,18 +85,6 @@ class MaybeUnlock:
class HTTPClient:
"""Represents an HTTP client sending HTTP requests to the Discord API."""
- BASE = 'https://discordapp.com'
- API_BASE = BASE + '/api/v6'
- GATEWAY = API_BASE + '/gateway'
- USERS = API_BASE + '/users'
- ME = USERS + '/@me'
- REGISTER = API_BASE + '/auth/register'
- LOGIN = API_BASE + '/auth/login'
- LOGOUT = API_BASE + '/auth/logout'
- GUILDS = API_BASE + '/guilds'
- CHANNELS = API_BASE + '/channels'
- APPLICATIONS = API_BASE + '/oauth2/applications'
-
SUCCESS_LOG = '{method} {url} has received {text}'
REQUEST_LOG = '{method} {url} with {json} has returned {status}'