From ce8dc85f78fc018fd4a789344826a875981def52 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Mon, 1 May 2017 22:07:20 +0100 Subject: [PATCH] watch me, gus --- src/structures/GuildAuditLogs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/GuildAuditLogs.js b/src/structures/GuildAuditLogs.js index 3e32cdb86..0b2a464be 100644 --- a/src/structures/GuildAuditLogs.js +++ b/src/structures/GuildAuditLogs.js @@ -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 */ @@ -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