mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-04 01:50:08 +00:00
Add getOAuthApplication()
This commit is contained in:
@@ -1537,6 +1537,12 @@ export default class InternalClient {
|
||||
return this.apiRequest("delete", `${Endpoints.FRIENDS}/${user.id}`, true);
|
||||
}
|
||||
|
||||
//def getOAuthApplication
|
||||
getOAuthApplication(appID) {
|
||||
appID = appID || "@me";
|
||||
return this.apiRequest("get", Endpoints.OAUTH2_APPLICATION(appID), true);
|
||||
}
|
||||
|
||||
//def ack
|
||||
ack(msg) {
|
||||
msg = this.resolver.resolveMessage(msg);
|
||||
|
||||
Reference in New Issue
Block a user