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