From 1f14758e0c29f2ed6dfd5d920b3efc512ae39cb1 Mon Sep 17 00:00:00 2001 From: Lasse Niermann Date: Thu, 1 Feb 2018 20:06:59 +0100 Subject: [PATCH] docs(ClientUser): mark email field as user account only property (#2306) * Store Mail - User Account Only Added that info * docs(ClientUser): mark email field as nullable --- src/structures/ClientUser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/structures/ClientUser.js b/src/structures/ClientUser.js index 31564ae2020e..56792c51e53e 100644 --- a/src/structures/ClientUser.js +++ b/src/structures/ClientUser.js @@ -21,7 +21,8 @@ class ClientUser extends User { /** * The email of this account - * @type {string} + * This is only filled when using a user account. + * @type {?string} */ this.email = data.email; this.localPresence = {};