mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +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.
|
||||
* @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} [shardCount=0] Total number of shards
|
||||
* @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 = {
|
||||
apiRequestMethod?: 'sequential' | 'burst';
|
||||
presence?: PresenceData;
|
||||
shardId?: number;
|
||||
shardCount?: number;
|
||||
|
||||
Reference in New Issue
Block a user