mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +00:00
Webpack build for branch master: 3bab4ec9fd
This commit is contained in:
parent
2e18839da9
commit
b041293f89
2 changed files with 20 additions and 1 deletions
|
|
@ -12979,6 +12979,7 @@ module.exports = DMChannel;
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
const Collection = __webpack_require__(3);
|
const Collection = __webpack_require__(3);
|
||||||
|
const Snowflake = __webpack_require__(7);
|
||||||
|
|
||||||
const Targets = {
|
const Targets = {
|
||||||
GUILD: 'GUILD',
|
GUILD: 'GUILD',
|
||||||
|
|
@ -13206,6 +13207,24 @@ class GuildAuditLogsEntry {
|
||||||
this.target = guild[`${targetType.toLowerCase()}s`].get(data.target_id);
|
this.target = guild[`${targetType.toLowerCase()}s`].get(data.target_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The timestamp this entry was created at
|
||||||
|
* @type {number}
|
||||||
|
* @readonly
|
||||||
|
*/
|
||||||
|
get createdTimestamp() {
|
||||||
|
return Snowflake.deconstruct(this.id).timestamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The time this entry was created
|
||||||
|
* @type {Date}
|
||||||
|
* @readonly
|
||||||
|
*/
|
||||||
|
get createdAt() {
|
||||||
|
return new Date(this.createdTimestamp);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GuildAuditLogs.Actions = Actions;
|
GuildAuditLogs.Actions = Actions;
|
||||||
|
|
|
||||||
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