mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +00:00
Webpack build for branch master: f95f18b586
This commit is contained in:
parent
c5c1efd4c3
commit
9f98617413
2 changed files with 4 additions and 6 deletions
|
|
@ -13120,13 +13120,11 @@ class GuildAuditLogs {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles possible promises for entry targets.
|
* Handles possible promises for entry targets.
|
||||||
* @returns {GuildAuditLogs}
|
* @returns {Promise<GuildAuditLogs>}
|
||||||
*/
|
*/
|
||||||
static build(...args) {
|
static build(...args) {
|
||||||
return new Promise(resolve => {
|
const logs = new GuildAuditLogs(...args);
|
||||||
const logs = new GuildAuditLogs(...args);
|
return Promise.all(logs.entries.map(e => e.target)).then(() => logs);
|
||||||
Promise.all(logs.entries.map(e => e.target)).then(() => resolve(logs));
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
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