work on docs

This commit is contained in:
Amish Shah
2016-08-18 10:11:40 +01:00
parent bca3cc7915
commit 55630a38ac
2 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -31,7 +31,9 @@ class Client extends EventEmitter {
/**
* Logs the client in. If successful, resolves with the account's token.
* @param {string} emailOrToken The email or token used for the account. If it is an email, a password _must_ be
* provided.
* provided. <warn>If you're making a bot, it's much better to use a bot account rather than a user account.
* Bot accounts have higher rate limits and have access to some features user accounts don't have. User bots
* that are making a lot of API requests can even be banned.</warn>
* @param {string} [password] The password for the account, only needed if an email was provided.
* @return {Promise<String>}
* @example