diff --git a/DisCatSharp/Enums/User/UserFlags.cs b/DisCatSharp/Enums/User/UserFlags.cs index f0bbce768..75201ff64 100644 --- a/DisCatSharp/Enums/User/UserFlags.cs +++ b/DisCatSharp/Enums/User/UserFlags.cs @@ -1,149 +1,179 @@ // This file is part of the DisCatSharp project, based off DSharpPlus. // // Copyright (c) 2021-2022 AITSYS // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. using System; namespace DisCatSharp { /// /// Represents additional details of a users account. /// [Flags] public enum UserFlags { /// /// The user has no flags. /// None = 0, /// /// The user is a Discord employee. /// Staff = 1 << 0, /// /// The user is a Discord partner. /// Partner = 1 << 1, /// /// The user has the HypeSquad badge. /// HypeSquad = 1 << 2, /// /// The user reached the first bug hunter tier. /// BugHunterLevelOne = 1 << 3, /// /// The user has SMS recovery for 2FA enabled. /// MfaSms = 1 << 4, /// /// The user is marked as dismissed Nitro promotion /// PremiumPromoDismissed = 1 << 5, /// /// The user is a member of house bravery. /// HouseBravery = 1 << 6, /// /// The user is a member of house brilliance. /// HouseBrilliance = 1 << 7, /// /// The user is a member of house balance. /// HouseBalance = 1 << 8, /// /// The user has the early supporter badge. /// PremiumEarlySupporter = 1 << 9, /// /// User is a . /// TeamPseudoUser = 1 << 10, /// /// Relates to partner/verification applications. /// PartnerOrVerificationApplication = 1 << 11, /// /// Whether the user is an official system user. /// System = 1 << 12, /// /// Whether the user has unread system messages. /// HasUnreadUrgentMessages = 1 << 13, /// /// The user reached the second bug hunter tier. /// BugHunterLevelTwo = 1 << 14, /// /// The user has a pending deletion for being underage in DOB prompt. /// UnderageDeleted = 1 << 15, /// /// The user is a verified bot. /// VerifiedBot = 1 << 16, /// /// The user is a verified bot developer. /// VerifiedDeveloper = 1 << 17, /// /// The user is a discord certified moderator. /// CertifiedModerator = 1 << 18, /// /// The user is a bot and has set an interactions endpoint url. /// BotHttpInteractions = 1 << 19, /// /// The user is disabled for being a spammer. /// Spammer = 1 << 20, /// /// Nitro is disabled for user. /// Used by discord staff instead of forcedNonPremium. /// - DisablePremium = 1 << 21 + DisablePremium = 1 << 21, + + /// + /// The user has a premium discriminator. + /// + PremiumDiscriminator = 1 << 37, + + /// + /// The user has used the desktop client + /// + UsedDesktopClient = 1 << 38, + + /// + /// The user has used the web client + /// + UsedWebClient = 1 << 39, + + /// + /// The user has used the mobile client + /// + UsedMobileClient = 1 << 40, + + /// + /// The user is currently temporarily or permanently disabled. + /// + Disabled = 1 << 42, + + /// + /// The user has a verified email. + /// + VerifiedEmail = 1 << 43 } }