Webpack build for branch master: 3bab4ec9fd

This commit is contained in:
Travis CI 2017-05-01 17:06:03 +00:00
parent 2e18839da9
commit b041293f89
2 changed files with 20 additions and 1 deletions

View file

@ -12979,6 +12979,7 @@ module.exports = DMChannel;
/***/ (function(module, exports, __webpack_require__) {
const Collection = __webpack_require__(3);
const Snowflake = __webpack_require__(7);
const Targets = {
GUILD: 'GUILD',
@ -13206,6 +13207,24 @@ class GuildAuditLogsEntry {
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;

File diff suppressed because one or more lines are too long