mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Webpack build for branch master: 37b1f38ebe
This commit is contained in:
parent
dc6a82852d
commit
8fc8ecac1c
2 changed files with 10 additions and 5 deletions
|
|
@ -26283,7 +26283,9 @@ if (__webpack_require__(24).platform() === 'browser') window.Discord = module.ex
|
|||
|
||||
/***/ }),
|
||||
/* 181 */
|
||||
/***/ (function(module, exports) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
const Collection = __webpack_require__(3);
|
||||
|
||||
const Targets = {
|
||||
GUILD: 'GUILD',
|
||||
|
|
@ -26329,10 +26331,13 @@ class GuildAuditLogs {
|
|||
|
||||
/**
|
||||
* The entries for this guild's audit logs
|
||||
* @type {GuildAuditLogsEntry[]}
|
||||
* @type {Collection<Snowflake, GuildAuditLogsEntry>}
|
||||
*/
|
||||
this.entries = [];
|
||||
for (const entry of data.audit_log_entries) this.entries.push(new GuildAuditLogsEntry(guild, entry));
|
||||
this.entries = new Collection();
|
||||
for (const item of data.audit_log_entries) {
|
||||
const entry = new GuildAuditLogsEntry(guild, item);
|
||||
this.entries.set(entry.id, entry);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
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