mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
Add OAuth Application Endpoint constant
This commit is contained in:
@@ -14,6 +14,9 @@ var Endpoints = Constants.Endpoints = {
|
||||
ME_SERVER: function ME_SERVER(serverID) {
|
||||
return Endpoints.ME + "/guilds/" + serverID;
|
||||
},
|
||||
OAUTH2_APPLICATION: function OAUTH2_APPLICATION(appID) {
|
||||
return API + "/oauth2/applications/" + appID;
|
||||
},
|
||||
ME_NOTES: API + "/users/@me/notes",
|
||||
GATEWAY: API + "/gateway",
|
||||
AVATAR: function AVATAR(userID, avatar) {
|
||||
|
||||
Reference in New Issue
Block a user