mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
Webpack build for branch master: ec5da9e6ad
This commit is contained in:
parent
2ad6d4465b
commit
8db93e7803
2 changed files with 3 additions and 3 deletions
|
|
@ -17609,7 +17609,7 @@ class Client extends EventEmitter {
|
||||||
* @returns {Promise<Webhook>}
|
* @returns {Promise<Webhook>}
|
||||||
*/
|
*/
|
||||||
fetchWebhook(id, token) {
|
fetchWebhook(id, token) {
|
||||||
return this.api.webhooks(id, token).get().then(data => new Webhook(this.client, data));
|
return this.api.webhooks(id, token).get().then(data => new Webhook(this, data));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -17667,7 +17667,7 @@ class Client extends EventEmitter {
|
||||||
*/
|
*/
|
||||||
fetchApplication(id = '@me') {
|
fetchApplication(id = '@me') {
|
||||||
return this.rest.api.oauth2.applications(id).get()
|
return this.rest.api.oauth2.applications(id).get()
|
||||||
.then(app => new OAuth2Application(this.client, app));
|
.then(app => new OAuth2Application(this, app));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue