From 42e12733934bff237ec4df8123f869d14849f3c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Susa=C3=B1a?= Date: Thu, 29 Aug 2024 15:08:08 -0400 Subject: [PATCH] feat: add more member flags https://github.com/discord/discord-api-docs/pull/7113 --- src/types/utils/index.ts | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/types/utils/index.ts b/src/types/utils/index.ts index e6cd83518..3759a64e8 100644 --- a/src/types/utils/index.ts +++ b/src/types/utils/index.ts @@ -357,6 +357,9 @@ export enum GatewayDispatchEvents { StageInstanceCreate = 'STAGE_INSTANCE_CREATE', StageInstanceDelete = 'STAGE_INSTANCE_DELETE', StageInstanceUpdate = 'STAGE_INSTANCE_UPDATE', + SubscriptionCreate = 'SUBSCRIPTION_CREATE', + SubscriptionUpdate = 'SUBSCRIPTION_UPDATE', + SubscriptionDelete = 'SUBSCRIPTION_DELETE', Ready = 'READY', Resumed = 'RESUMED', ThreadCreate = 'THREAD_CREATE', @@ -815,21 +818,29 @@ export enum GuildMemberFlags { */ StartedOnboarding = 1 << 3, /** - * @unstable This guild member flag is currently not documented by Discord but has a known value which we will try to keep up to date. + * Member is a guest and can only access the voice channel they were invited to + */ + IsGuest = 1 << 4, + /** + * This guild member flag is currently not documented by Discord but has a known value which we will try to keep up to date. */ StartedHomeActions = 1 << 5, /** - * @unstable This guild member flag is currently not documented by Discord but has a known value which we will try to keep up to date. + * This guild member flag is currently not documented by Discord but has a known value which we will try to keep up to date. */ CompletedHomeActions = 1 << 6, /** - * @unstable This guild member flag is currently not documented by Discord but has a known value which we will try to keep up to date. + * This guild member flag is currently not documented by Discord but has a known value which we will try to keep up to date. */ AutomodQuarantinedUsernameOrGuildNickname = 1 << 7, /** - * @unstable This guild member flag is currently not documented by Discord but has a known value which we will try to keep up to date. + * @deprecated This guild member flag is currently not documented by Discord but has a known value which we will try to keep up to date. */ AutomodQuarantinedBio = 1 << 8, + /** + * Member has dismissed the DM settings upsell + */ + DmSettingsUpsellAcknowledged = 1 << 9, } export enum OverwriteType {