diff --git a/NetCord/UserFlags.cs b/NetCord/UserFlags.cs index b8708c8de..3a2569762 100644 --- a/NetCord/UserFlags.cs +++ b/NetCord/UserFlags.cs @@ -1,22 +1,193 @@ namespace NetCord; [Flags] -public enum UserFlags : uint +public enum UserFlags : ulong { - DiscordEmployee = 1 << 0, - PartneredServerOwner = 1 << 1, - HypeSquadEvents = 1 << 2, - BugHunterLevel1 = 1 << 3, - HouseBravery = 1 << 6, - HouseBrilliance = 1 << 7, - HouseBalance = 1 << 8, - EarlySupporter = 1 << 9, - TeamUser = 1 << 10, - BugHunterLevel2 = 1 << 14, - VerifiedBot = 1 << 16, - EarlyVerifiedBotDeveloper = 1 << 17, - DiscordCertifiedModerator = 1 << 18, - BotHttpInteractions = 1 << 19, - Spammer = 1 << 20, - ActiveDeveloper = 1 << 22, + /// + /// User is a Discord employee. + /// + Staff = 1uL << 0, + + /// + /// User is a Discord partner. + /// + Partner = 1uL << 1, + + /// + /// User has the 'HypeSquad Events' badge. + /// + HypeSquad = 1uL << 2, + + /// + /// User has the 'Bug Hunter' badge. + /// + BugHunterLevel1 = 1uL << 3, + + /// + /// Undocumented and private. User has SMS recovery for 2FA enabled. + /// + MfaSms = 1uL << 4, + + /// + /// Undocumented and private. User dismissed the Nitro promotion. + /// + PremiumPromotionDismissed = 1uL << 5, + + // HypeSquad House Flags + + /// + /// User is a House of Bravery Member. + /// + HypeSquadOnlineHouse1 = 1uL << 6, + + /// + /// User is a House of Brilliance Member. + /// + HypeSquadOnlineHouse = 1uL << 7, + + /// + /// User is a House of Balance Member. + /// + HypeSquadOnlineHouse3 = 1uL << 8, + + /// + /// User has the 'Early Supporter' badge. + /// + PremiumEarlySupporter = 1uL << 9, + + /// + /// User is a team. See . + /// + TeamPseudoUser = 1uL << 10, + + /// + /// Undocumented and private. User has a pending partner/verification application. + /// + InternalApplication = 1uL << 11, + + /// + /// Undocumented. User is an Official Discord System user (part of the urgent message system). + /// + System = 1uL << 12, + + /// + /// Undocumented and private. User has unread messages from Discord. + /// + HasUnreadUrgentMessages = 1uL << 13, + + /// + /// User has the 'Golden Bug Hunter' badge. + /// + BugHunterLevel2 = 1uL << 14, + + /// + /// Undocumented and private. User is pending deletion for being underage in DOB prompt. + /// + UnderageDeleted = 1uL << 15, + + // Verification Flags + + /// + /// User is a verified bot. See . + /// + VerifiedBot = 1uL << 16, + + /// + /// User has the 'Early Verified Developer' badge. + /// + VerifiedDeveloper = 1uL << 17, + + /// + /// User has the 'Moderator Program Alumni' badge. + /// + CertifiedModerator = 1uL << 18, + + /// + /// Undocumented. User is a bot with an interactions endpoint. + /// + BotHttpInteractions = 1uL << 19, + + /// + /// Undocumented. User's account is flagged for spamming. + /// + Spammer = 1uL << 20, + + /// + /// Undocumented and private. User's Nitro features are disabled. + /// + DisablePremium = 1uL << 21, + + /// + /// User has the 'Active Developer' badge. See . + /// + ActiveDeveloper = 1uL << 22, + + /// + /// Undocumented and private. User's account has a high global rate limit. + /// + HighGlobalRateLimit = 1uL << 33, + + /// + /// Undocumented and private. User's account is deleted. + /// + Deleted = 1uL << 34, + + /// + /// Undocumented and private. User's account is disabled for suspicious activity. + /// + DisabledSuspiciousActivity = 1uL << 35, + + /// + /// Undocumented and private. User's account was manually deleted. + /// + SelfDeleted = 1uL << 36, + + /// + /// Undocumented. User has a manually selected discriminator. + /// + PremiumDiscriminator = 1uL << 37, + + // Client Usage Flags + + /// + /// Undocumented. User has used the desktop client. + /// + UsedDesktopClient = 1uL << 38, + + /// + /// Undocumented. User has used the web client. + /// + UsedWebClient = 1uL << 39, + + /// + /// Undocumented. User has used the mobile client. + /// + UsedMobileClient = 1uL << 40, + + /// + /// Undocumented and private. User's account is temporarily or permanently disabled. + /// + Disabled = 1uL << 41, + + /// + /// Undocumented. User has a verified email. + /// + VerifiedEmail = 1uL << 43, + + /// + /// Undocumented and private. User is quarantined. See . + /// + Quarantined = 1uL << 44, + + // Collaborator Flags + + /// + /// Undocumented. User is a collaborator and has staff permissions. + /// + Collaborator = 1uL << 50, + + /// + /// Undocumented. User is a restricted collaborator and has staff permissions. + /// + RestrictedCollaborator = 1uL << 51, }