mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
fix: ShardClientUtil#count and ShardClientUtil#id typedef (#2956)
This commit is contained in:
@@ -44,8 +44,8 @@ class ShardClientUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ID of this shard
|
* Shard ID or array of shard IDs of this client
|
||||||
* @type {number}
|
* @type {number|number[]}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get id() {
|
get id() {
|
||||||
@@ -58,7 +58,7 @@ class ShardClientUtil {
|
|||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get count() {
|
get count() {
|
||||||
return this.client.options.shardCount;
|
return this.client.options.totalShardCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user