mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +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
|
* 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue