From 9389272a7ce5b5cb8517d5adda76c9a5cae5aa89 Mon Sep 17 00:00:00 2001 From: Alan Bixby Date: Sun, 1 Aug 2021 17:18:35 -0400 Subject: [PATCH] Fix RPCLoginOptions parameter docs --- src/client.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client.js b/src/client.js index 0ff29da..94cd025 100644 --- a/src/client.js +++ b/src/client.js @@ -117,12 +117,13 @@ class RPCClient extends EventEmitter { /** * @typedef {RPCLoginOptions} - * @param {string} clientId Client ID + * @param {Snowflake} clientId Client ID * @param {string} [clientSecret] Client secret * @param {string} [accessToken] Access token * @param {string} [rpcToken] RPC token - * @param {string} [tokenEndpoint] Token endpoint + * @param {string} [redirectUri] OAuth2 redirect endpoint * @param {string[]} [scopes] Scopes to authorize with + * @param {string} [prompt] Authorization flow; `none` authorizes once, `consent` prompts for reapproval */ /**