fix: ShardClientUtil#count and ShardClientUtil#id typedef (#2956)

This commit is contained in:
Yukine
2018-11-17 05:46:02 +01:00
committed by Isabella
parent 54aff3191e
commit e793338d74

View File

@@ -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;
} }
/** /**