diff options
| author | Rapptz <[email protected]> | 2017-02-08 20:44:35 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-02-08 20:46:38 -0500 |
| commit | e6c5e40ab06192eebebe738cafd2f1bc385bc249 (patch) | |
| tree | b9ce7b97e2a9090a3da714cf25e84cd0fb8d9d5d | |
| parent | Add missing continue statement in gateway futures. (diff) | |
| download | discord.py-e6c5e40ab06192eebebe738cafd2f1bc385bc249.tar.xz discord.py-e6c5e40ab06192eebebe738cafd2f1bc385bc249.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 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}' |