mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
fix docs
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -33,9 +33,9 @@ class Client extends EventEmitter {
|
|||||||
* much better to use a bot account rather than a user account.
|
* 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
|
* 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>
|
* that are making a lot of API requests can even be banned.</warn>
|
||||||
* @param {string} emailOrToken The email or token used for the account. If it is an email, a password _must_ be
|
* @param {String} emailOrToken The email or token used for the account. If it is an email, a password _must_ be
|
||||||
* provided.
|
* provided.
|
||||||
* @param {string} [password] The password for the account, only needed if an email was provided.
|
* @param {String} [password] The password for the account, only needed if an email was provided.
|
||||||
* @return {Promise<String>}
|
* @return {Promise<String>}
|
||||||
* @example
|
* @example
|
||||||
* // log the client in using a token
|
* // log the client in using a token
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ class Channel {
|
|||||||
constructor(client, data, guild) {
|
constructor(client, data, guild) {
|
||||||
/**
|
/**
|
||||||
* The client that instantiated the Channel
|
* The client that instantiated the Channel
|
||||||
* @type {Channel}
|
* @type {Client}
|
||||||
*/
|
*/
|
||||||
this.client = client;
|
this.client = client;
|
||||||
this.typingMap = {};
|
this.typingMap = {};
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class Message {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The client that instantiated the Object
|
* The client that instantiated the Message
|
||||||
* @type {Client}
|
* @type {Client}
|
||||||
*/
|
*/
|
||||||
this.client = client;
|
this.client = client;
|
||||||
|
|||||||
Reference in New Issue
Block a user