Remove unused constants in HTTPClient
This commit is contained in:
parent
ced064d08c
commit
0311b407c3
@ -85,18 +85,6 @@ class MaybeUnlock:
|
|||||||
class HTTPClient:
|
class HTTPClient:
|
||||||
"""Represents an HTTP client sending HTTP requests to the Discord API."""
|
"""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}'
|
SUCCESS_LOG = '{method} {url} has received {text}'
|
||||||
REQUEST_LOG = '{method} {url} with {json} has returned {status}'
|
REQUEST_LOG = '{method} {url} with {json} has returned {status}'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user