From a361a53d5760c45f961b61505e58a5ed30551d54 Mon Sep 17 00:00:00 2001 From: Fleny Date: Mon, 6 May 2024 09:40:08 +0200 Subject: [PATCH] Add poll transformer export (#3550) & fix a typedoc warning for the oauth2 func --- packages/bot/src/transformers/index.ts | 1 + packages/utils/src/oauth2.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/bot/src/transformers/index.ts b/packages/bot/src/transformers/index.ts index 8151c2f89..4a034475b 100644 --- a/packages/bot/src/transformers/index.ts +++ b/packages/bot/src/transformers/index.ts @@ -21,6 +21,7 @@ export * from './invite.js' export * from './member.js' export * from './message.js' export * from './onboarding.js' +export * from './poll.js' export * from './presence.js' export * from './reverse/index.js' export * from './role.js' diff --git a/packages/utils/src/oauth2.ts b/packages/utils/src/oauth2.ts index cdcdaa7eb..26cd64b3f 100644 --- a/packages/utils/src/oauth2.ts +++ b/packages/utils/src/oauth2.ts @@ -76,7 +76,7 @@ export interface CreateOAuth2LinkOptions { * Specifies the installation context for the authorization * * @remarks - * Should be defined only when {@link scopes} includes {@link OAuth2Scope.ApplicationsCommands}. + * Should be defined only when {@link scope} includes {@link OAuth2Scope.ApplicationsCommands}. * * When set to GuildInstall (0) the application will be authorized for installation to a server, and when set to UserInstall (1) the application will be authorized for installation to a user. *