mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
add docs for shardId, shardCount client parameters (#394)
This commit is contained in:
parent
bf89d678d8
commit
d913d04f44
1 changed files with 10 additions and 0 deletions
|
|
@ -49,6 +49,16 @@ rateLimitAsError
|
|||
|
||||
Have the lib throw a rejection Promise/callback when being ratelimited, instead of auto-retrying.
|
||||
|
||||
shardCount
|
||||
~~~~~~~~~~
|
||||
|
||||
The total number of shards.
|
||||
|
||||
shardId
|
||||
~~~~~~~
|
||||
|
||||
A zero-based integer representing the value of the current shard.
|
||||
|
||||
--------
|
||||
|
||||
Attributes
|
||||
|
|
|
|||
Loading…
Reference in a new issue