Implement cache of login credentials.
Also add endpoints.ME to easily access the @me endpoint.
This commit is contained in:
@@ -28,6 +28,7 @@ BASE = 'https://discordapp.com'
|
||||
API_BASE = BASE + '/api'
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user