mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
add docs for shardId, shardCount client parameters (#394)
This commit is contained in:
committed by
abalabahaha
parent
bf89d678d8
commit
d913d04f44
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user