Skip to content

Commit

Permalink
watch me, gus
Browse files Browse the repository at this point in the history
  • Loading branch information
amishshah committed May 1, 2017
1 parent 7da53af commit b7a81ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/GuildAuditLogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class GuildAuditLogsEntry {
/**
* An entry in the audit log representing a specific change
* @typedef {object} AuditLogChange
* @property {string} name The name of the change, e.g. `nick` for nickname changes
* @property {string} key The property that was changed, e.g. `nick` for nickname changes
* @property {string|boolean|number} [old] The old value of the change, e.g. for nicknames, the old nickname
* @property {string|boolean|number} new The new value of the change, e.g. for nicknames, the new nickname
*/
Expand All @@ -177,7 +177,7 @@ class GuildAuditLogsEntry {
* Specific property changes
* @type {AuditLogChange[]}
*/
this.changes = data.changes ? data.changes.map(c => ({ name: c.key, old: c.old_value, new: c.new_value })) : null;
this.changes = data.changes ? data.changes.map(c => ({ key: c.key, old: c.old_value, new: c.new_value })) : null;

/**
* The ID of this entry
Expand Down

0 comments on commit b7a81ed

Please sign in to comment.