Skip to content

Commit

Permalink
docs(ClientUser): mark email field as user account only property (#2306)
Browse files Browse the repository at this point in the history
* Store Mail - User Account Only

Added that info

* docs(ClientUser): mark email field as nullable
  • Loading branch information
LunaNiermann authored and SpaceEEC committed Feb 1, 2018
1 parent 52c402f commit 1f14758
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/structures/ClientUser.js
Expand Up @@ -21,7 +21,8 @@ class ClientUser extends User {

/**
* The email of this account
* @type {string}
* <warn>This is only filled when using a user account.</warn>
* @type {?string}
*/
this.email = data.email;
this.localPresence = {};
Expand Down

0 comments on commit 1f14758

Please sign in to comment.