Skip to content

Conversation

@vaporoxx
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:

This PR fixes the documentation for Client#login by marking the token parameter as optional and adding a small description.

Status

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

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.

@papaia
Copy link
Contributor

papaia commented Jun 11, 2020

Maybe use an <info> for that?

@vaporoxx
Copy link
Contributor Author

@NotSugden That seemed like a better approach to me, just implemented it with the most recent commit

Copy link

@infiniwave infiniwave left a comment

Choose a reason for hiding this comment

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

Sounds like good idea! Some people might never know that discord.js gets the env variable.

@iCrawl iCrawl merged commit 9d747d1 into discordjs:master Aug 11, 2020
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.

9 participants