From 31873eb3a5133a1ed161c110ccb0b99ca5cd6390 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 92fe176f5..dd227c31c 100644 --- a/src/structures/ClientUser.js +++ b/src/structures/ClientUser.js @@ -22,7 +22,8 @@ class ClientUser extends Structures.get('User') { /** * The email of this account - * @type {string} + * This is only filled when using a user account. + * @type {?string} */ this.email = data.email; this._typing = new Map();