mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
Webpack build for branch 11.1-dev: bb0ee59718
This commit is contained in:
parent
9f98617413
commit
bc11f1691a
2 changed files with 4 additions and 6 deletions
|
|
@ -13054,13 +13054,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.11.1-dev.min.js
vendored
2
discord.11.1-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue