From 2e4de62ddf6a34990b6b562a6e395df26a4b6195 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Mon, 4 Sep 2017 14:14:11 +0100 Subject: [PATCH] Potentially fix #1870? --- src/structures/User.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/structures/User.js b/src/structures/User.js index 1107e8a0c..546e74ff2 100644 --- a/src/structures/User.js +++ b/src/structures/User.js @@ -13,16 +13,17 @@ const { Error } = require('../errors'); class User extends Base { constructor(client, data) { super(client); - this._patch(data); - } - _patch(data) { /** * The ID of the user * @type {Snowflake} */ this.id = data.id; + this._patch(data); + } + + _patch(data) { /** * The username of the user * @type {string}