From 8821fd40bc8156626db929431608bf7b9208a80c Mon Sep 17 00:00:00 2001 From: Adam Gauthier Date: Wed, 29 Aug 2018 02:43:28 -0400 Subject: [PATCH] cleanup: remove remaining apiRequestMethod docs and typings (#2806) --- src/util/Constants.js | 3 --- typings/index.d.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/src/util/Constants.js b/src/util/Constants.js index 7f5e7429b..b2e02c3ab 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -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 diff --git a/typings/index.d.ts b/typings/index.d.ts index 244555d9e..d2dd4780e 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1549,7 +1549,6 @@ declare module 'discord.js' { }; type ClientOptions = { - apiRequestMethod?: 'sequential' | 'burst'; presence?: PresenceData; shardId?: number; shardCount?: number;