Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store Mail - User Account Only #2306

Merged
merged 2 commits into from
Feb 1, 2018
Merged

Store Mail - User Account Only #2306

merged 2 commits into from
Feb 1, 2018

Conversation

LunaNiermann
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:
Currently there is no note that requesting a client users email only works with user accounts.

Semantic versioning classification:

  • This PR changes the library's interface (methods or parameters added)
    • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

@@ -21,6 +21,7 @@ class ClientUser extends User {

/**
* The email of this account
* <warn>This is only filled when using a user account.</warn>
* @type {string}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also mark the string as nullable? @type {?string}

@SpaceEEC SpaceEEC merged commit 1f14758 into discordjs:11.3-dev Feb 1, 2018
SpaceEEC pushed a commit to SpaceEEC/discord.js that referenced this pull request Feb 1, 2018
…cordjs#2306)

* Store Mail - User Account Only

Added that info

* docs(ClientUser): mark email field as nullable
@LunaNiermann LunaNiermann deleted the patch-2 branch January 13, 2019 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants