From 2803e8df2f2105099a1dc6e04193355a926718b9 Mon Sep 17 00:00:00 2001 From: Almeida Date: Thu, 29 Aug 2024 20:50:15 +0100 Subject: [PATCH] feat(GuildMemberFlags): `IsGuest` and `DmSettingsUpsellAcknowledged` (#1079) --- deno/payloads/v10/guild.ts | 18 +++++++++++++----- deno/payloads/v9/guild.ts | 18 +++++++++++++----- payloads/v10/guild.ts | 18 +++++++++++++----- payloads/v9/guild.ts | 18 +++++++++++++----- 4 files changed, 52 insertions(+), 20 deletions(-) diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index ed5f845c1..dea571fbb 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -689,7 +689,7 @@ export enum GuildMemberFlags { */ CompletedOnboarding = 1 << 1, /** - * Member bypasses guild verification requirements + * Member is exempt from guild verification requirements */ BypassesVerification = 1 << 2, /** @@ -697,21 +697,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, + /** + * Member has started Server Guide new member actions */ 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. + * Member has completed Server Guide new member actions */ 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. + * Member's username, display name, or nickname is blocked by AutoMod */ 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 */ AutomodQuarantinedBio = 1 << 8, + /** + * Member has dismissed the DM settings upsell + */ + DmSettingsUpsellAcknowledged = 1 << 9, } /** diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index cd396ffb9..42c167233 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -681,7 +681,7 @@ export enum GuildMemberFlags { */ CompletedOnboarding = 1 << 1, /** - * Member bypasses guild verification requirements + * Member is exempt from guild verification requirements */ BypassesVerification = 1 << 2, /** @@ -689,21 +689,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, + /** + * Member has started Server Guide new member actions */ 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. + * Member has completed Server Guide new member actions */ 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. + * Member's username, display name, or nickname is blocked by AutoMod */ 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 */ AutomodQuarantinedBio = 1 << 8, + /** + * Member has dismissed the DM settings upsell + */ + DmSettingsUpsellAcknowledged = 1 << 9, } /** diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index 9a9db2714..55c136fa4 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -689,7 +689,7 @@ export enum GuildMemberFlags { */ CompletedOnboarding = 1 << 1, /** - * Member bypasses guild verification requirements + * Member is exempt from guild verification requirements */ BypassesVerification = 1 << 2, /** @@ -697,21 +697,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, + /** + * Member has started Server Guide new member actions */ 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. + * Member has completed Server Guide new member actions */ 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. + * Member's username, display name, or nickname is blocked by AutoMod */ 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 */ AutomodQuarantinedBio = 1 << 8, + /** + * Member has dismissed the DM settings upsell + */ + DmSettingsUpsellAcknowledged = 1 << 9, } /** diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index 62e8d7703..28325b0f0 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -681,7 +681,7 @@ export enum GuildMemberFlags { */ CompletedOnboarding = 1 << 1, /** - * Member bypasses guild verification requirements + * Member is exempt from guild verification requirements */ BypassesVerification = 1 << 2, /** @@ -689,21 +689,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, + /** + * Member has started Server Guide new member actions */ 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. + * Member has completed Server Guide new member actions */ 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. + * Member's username, display name, or nickname is blocked by AutoMod */ 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 */ AutomodQuarantinedBio = 1 << 8, + /** + * Member has dismissed the DM settings upsell + */ + DmSettingsUpsellAcknowledged = 1 << 9, } /**