From 128875926746d014869553a5a066c5ef6397c732 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 1 May 2017 20:10:00 +0000 Subject: [PATCH] Webpack build for branch 11.1-dev: 2d416cca794bde593de5de5a0b1badef160b085e --- discord.11.1-dev.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/discord.11.1-dev.js b/discord.11.1-dev.js index a4f6de6e..9ffc9337 100644 --- a/discord.11.1-dev.js +++ b/discord.11.1-dev.js @@ -13145,9 +13145,17 @@ class GuildAuditLogsEntry { */ this.executor = guild.client.users.get(data.user_id); + /** + * 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|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 + */ + /** * Specific property changes - * @type {Object[]} + * @type {AuditLogChange[]} */ this.changes = data.changes ? data.changes.map(c => ({ name: c.key, old: c.old_value, new: c.new_value })) : null;