mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix: ShardClientUtil#count and ShardClientUtil#id typedef (#2956)
This commit is contained in:
parent
54aff3191e
commit
e793338d74
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue