mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
cleanup: remove remaining apiRequestMethod docs and typings (#2806)
This commit is contained in:
@@ -5,9 +5,6 @@ const browser = exports.browser = typeof window !== 'undefined';
|
|||||||
/**
|
/**
|
||||||
* Options for a client.
|
* Options for a client.
|
||||||
* @typedef {Object} ClientOptions
|
* @typedef {Object} ClientOptions
|
||||||
* 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. Burst mode is more likely to hit a 429 ratelimit error by its nature,
|
|
||||||
* and is therefore slightly riskier to use.
|
|
||||||
* @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
|
||||||
|
|||||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1549,7 +1549,6 @@ declare module 'discord.js' {
|
|||||||
};
|
};
|
||||||
|
|
||||||
type ClientOptions = {
|
type ClientOptions = {
|
||||||
apiRequestMethod?: 'sequential' | 'burst';
|
|
||||||
presence?: PresenceData;
|
presence?: PresenceData;
|
||||||
shardId?: number;
|
shardId?: number;
|
||||||
shardCount?: number;
|
shardCount?: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user