docs(ClientUser): fix shardId nullable (#6072)

* docs(ClientUser): fix shardId nullable

* docs(ClientUser): fix id lowercase for consistency

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
This commit is contained in:
DTrombett
2021-07-08 00:22:51 +02:00
committed by GitHub
parent 7322547172
commit 28b5ffb4d6

View File

@@ -103,7 +103,7 @@ class ClientUser extends User {
* @property {PresenceStatusData} [status] Status of the user
* @property {boolean} [afk] Whether the user is AFK
* @property {ActivitiesOptions[]} [activities] Activity the user is playing
* @property {?(number|number[])} [shardId] Shard Id(s) to have the activity set on
* @property {number|number[]} [shardId] Shard id(s) to have the activity set on
*/
/**
@@ -130,7 +130,7 @@ class ClientUser extends User {
/**
* Sets the status of the client user.
* @param {PresenceStatusData} status Status to change to
* @param {?(number|number[])} [shardId] Shard id(s) to have the activity set on
* @param {number|number[]} [shardId] Shard id(s) to have the activity set on
* @returns {Presence}
* @example
* // Set the client user's status