diff options
| author | Rapptz <[email protected]> | 2017-02-08 20:44:35 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-02-08 20:44:35 -0500 |
| commit | 0311b407c329292825fb2dad4fc7d87aa78ede32 (patch) | |
| tree | 3f67a9d6700d47ce9d8a542be4c514a1d88022a2 | |
| parent | Add missing continue statement in gateway futures. (diff) | |
| download | discord.py-0311b407c329292825fb2dad4fc7d87aa78ede32.tar.xz discord.py-0311b407c329292825fb2dad4fc7d87aa78ede32.zip | |
Remove unused constants in HTTPClient
| -rw-r--r-- | discord/http.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/discord/http.py b/discord/http.py index 0150a9bd..e3e41e58 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}' |