mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user