diff --git a/src/sharding/ShardClientUtil.js b/src/sharding/ShardClientUtil.js index 9a2a746bc..201568ca1 100644 --- a/src/sharding/ShardClientUtil.js +++ b/src/sharding/ShardClientUtil.js @@ -44,8 +44,8 @@ class ShardClientUtil { } /** - * ID of this shard - * @type {number} + * Shard ID or array of shard IDs of this client + * @type {number|number[]} * @readonly */ get id() { @@ -58,7 +58,7 @@ class ShardClientUtil { * @readonly */ get count() { - return this.client.options.shardCount; + return this.client.options.totalShardCount; } /**