mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
Add OAuth Application Endpoint constant
This commit is contained in:
@@ -11,6 +11,7 @@ const Endpoints = Constants.Endpoints = {
|
||||
ME: `${API}/users/@me`,
|
||||
ME_CHANNELS: `${API}/users/@me/channels`,
|
||||
ME_SERVER: (serverID) => `${Endpoints.ME}/guilds/${serverID}`,
|
||||
OAUTH2_APPLICATION: (appID) => `${API}/oauth2/applications/${appID}`,
|
||||
ME_NOTES: `${API}/users/@me/notes`,
|
||||
GATEWAY: `${API}/gateway`,
|
||||
AVATAR : (userID, avatar) => `${API}/users/${userID}/avatars/${avatar}.jpg`,
|
||||
|
||||
Reference in New Issue
Block a user