Skip to content

Commit 2803e8d

Browse files
authored
feat(GuildMemberFlags): IsGuest and DmSettingsUpsellAcknowledged (#1079)
1 parent 58848be commit 2803e8d

File tree

4 files changed

+52
-20
lines changed

4 files changed

+52
-20
lines changed

deno/payloads/v10/guild.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -689,29 +689,37 @@ export enum GuildMemberFlags {
689689
*/
690690
CompletedOnboarding = 1 << 1,
691691
/**
692-
* Member bypasses guild verification requirements
692+
* Member is exempt from guild verification requirements
693693
*/
694694
BypassesVerification = 1 << 2,
695695
/**
696696
* Member has started onboarding
697697
*/
698698
StartedOnboarding = 1 << 3,
699699
/**
700-
* @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.
700+
* Member is a guest and can only access the voice channel they were invited to
701+
*/
702+
IsGuest = 1 << 4,
703+
/**
704+
* Member has started Server Guide new member actions
701705
*/
702706
StartedHomeActions = 1 << 5,
703707
/**
704-
* @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.
708+
* Member has completed Server Guide new member actions
705709
*/
706710
CompletedHomeActions = 1 << 6,
707711
/**
708-
* @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.
712+
* Member's username, display name, or nickname is blocked by AutoMod
709713
*/
710714
AutomodQuarantinedUsernameOrGuildNickname = 1 << 7,
711715
/**
712-
* @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.
716+
* @deprecated
713717
*/
714718
AutomodQuarantinedBio = 1 << 8,
719+
/**
720+
* Member has dismissed the DM settings upsell
721+
*/
722+
DmSettingsUpsellAcknowledged = 1 << 9,
715723
}
716724

717725
/**

deno/payloads/v9/guild.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -681,29 +681,37 @@ export enum GuildMemberFlags {
681681
*/
682682
CompletedOnboarding = 1 << 1,
683683
/**
684-
* Member bypasses guild verification requirements
684+
* Member is exempt from guild verification requirements
685685
*/
686686
BypassesVerification = 1 << 2,
687687
/**
688688
* Member has started onboarding
689689
*/
690690
StartedOnboarding = 1 << 3,
691691
/**
692-
* @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.
692+
* Member is a guest and can only access the voice channel they were invited to
693+
*/
694+
IsGuest = 1 << 4,
695+
/**
696+
* Member has started Server Guide new member actions
693697
*/
694698
StartedHomeActions = 1 << 5,
695699
/**
696-
* @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.
700+
* Member has completed Server Guide new member actions
697701
*/
698702
CompletedHomeActions = 1 << 6,
699703
/**
700-
* @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.
704+
* Member's username, display name, or nickname is blocked by AutoMod
701705
*/
702706
AutomodQuarantinedUsernameOrGuildNickname = 1 << 7,
703707
/**
704-
* @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.
708+
* @deprecated
705709
*/
706710
AutomodQuarantinedBio = 1 << 8,
711+
/**
712+
* Member has dismissed the DM settings upsell
713+
*/
714+
DmSettingsUpsellAcknowledged = 1 << 9,
707715
}
708716

709717
/**

payloads/v10/guild.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -689,29 +689,37 @@ export enum GuildMemberFlags {
689689
*/
690690
CompletedOnboarding = 1 << 1,
691691
/**
692-
* Member bypasses guild verification requirements
692+
* Member is exempt from guild verification requirements
693693
*/
694694
BypassesVerification = 1 << 2,
695695
/**
696696
* Member has started onboarding
697697
*/
698698
StartedOnboarding = 1 << 3,
699699
/**
700-
* @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.
700+
* Member is a guest and can only access the voice channel they were invited to
701+
*/
702+
IsGuest = 1 << 4,
703+
/**
704+
* Member has started Server Guide new member actions
701705
*/
702706
StartedHomeActions = 1 << 5,
703707
/**
704-
* @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.
708+
* Member has completed Server Guide new member actions
705709
*/
706710
CompletedHomeActions = 1 << 6,
707711
/**
708-
* @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.
712+
* Member's username, display name, or nickname is blocked by AutoMod
709713
*/
710714
AutomodQuarantinedUsernameOrGuildNickname = 1 << 7,
711715
/**
712-
* @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.
716+
* @deprecated
713717
*/
714718
AutomodQuarantinedBio = 1 << 8,
719+
/**
720+
* Member has dismissed the DM settings upsell
721+
*/
722+
DmSettingsUpsellAcknowledged = 1 << 9,
715723
}
716724

717725
/**

payloads/v9/guild.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -681,29 +681,37 @@ export enum GuildMemberFlags {
681681
*/
682682
CompletedOnboarding = 1 << 1,
683683
/**
684-
* Member bypasses guild verification requirements
684+
* Member is exempt from guild verification requirements
685685
*/
686686
BypassesVerification = 1 << 2,
687687
/**
688688
* Member has started onboarding
689689
*/
690690
StartedOnboarding = 1 << 3,
691691
/**
692-
* @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.
692+
* Member is a guest and can only access the voice channel they were invited to
693+
*/
694+
IsGuest = 1 << 4,
695+
/**
696+
* Member has started Server Guide new member actions
693697
*/
694698
StartedHomeActions = 1 << 5,
695699
/**
696-
* @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.
700+
* Member has completed Server Guide new member actions
697701
*/
698702
CompletedHomeActions = 1 << 6,
699703
/**
700-
* @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.
704+
* Member's username, display name, or nickname is blocked by AutoMod
701705
*/
702706
AutomodQuarantinedUsernameOrGuildNickname = 1 << 7,
703707
/**
704-
* @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.
708+
* @deprecated
705709
*/
706710
AutomodQuarantinedBio = 1 << 8,
711+
/**
712+
* Member has dismissed the DM settings upsell
713+
*/
714+
DmSettingsUpsellAcknowledged = 1 << 9,
707715
}
708716

709717
/**

0 commit comments

Comments
 (0)