mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
Change burst mode warning
This commit is contained in:
@@ -5,9 +5,8 @@ exports.Package = require('../../package.json');
|
|||||||
* @typedef {Object} ClientOptions
|
* @typedef {Object} ClientOptions
|
||||||
* @property {string} [apiRequestMethod='sequential'] One of `sequential` or `burst`. The sequential handler executes
|
* @property {string} [apiRequestMethod='sequential'] One of `sequential` or `burst`. The sequential handler executes
|
||||||
* all requests in the order they are triggered, whereas the burst handler runs multiple in parallel, and doesn't
|
* all requests in the order they are triggered, whereas the burst handler runs multiple in parallel, and doesn't
|
||||||
* provide the guarantee of any particular order.
|
* provide the guarantee of any particular order. Burst mode is more likely to hit a 429 ratelimit error by its nature,
|
||||||
* <warn>Burst mode is more likely to hit a 429 ratelimit by its nature,
|
* and is therefore slightly riskier to use.
|
||||||
* be advised if you are very unlucky you could be IP banned</warn>
|
|
||||||
* @property {number} [shardId=0] ID of the shard to run
|
* @property {number} [shardId=0] ID of the shard to run
|
||||||
* @property {number} [shardCount=0] Total number of shards
|
* @property {number} [shardCount=0] Total number of shards
|
||||||
* @property {number} [messageCacheMaxSize=200] Maximum number of messages to cache per channel
|
* @property {number} [messageCacheMaxSize=200] Maximum number of messages to cache per channel
|
||||||
|
|||||||
Reference in New Issue
Block a user