mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Refactor OAuth application stuff
This commit is contained in:
@@ -131,7 +131,7 @@ const Endpoints = exports.Endpoints = {
|
||||
webhook: (webhookID, token) => `${API}/webhooks/${webhookID}${token ? `/${token}` : ''}`,
|
||||
|
||||
// oauth
|
||||
myApp: `${API}/oauth2/applications/@me`,
|
||||
myApplication: `${API}/oauth2/applications/@me`,
|
||||
getApp: (id) => `${API}/oauth2/authorize?client_id=${id}`,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user