diff --git a/DisCatSharp/Enums/User/UserFlags.cs b/DisCatSharp/Enums/User/UserFlags.cs index 5d00b52ee..856081a38 100644 --- a/DisCatSharp/Enums/User/UserFlags.cs +++ b/DisCatSharp/Enums/User/UserFlags.cs @@ -1,138 +1,143 @@ // This file is part of the DisCatSharp project. // // Copyright (c) 2021 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. /// DiscordEmployee = 1 << 0, /// /// The user is a Discord partner. /// DiscordPartner = 1 << 1, /// /// The user has the HypeSquad badge. /// HypeSquadEvents = 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. /// EarlySupporter = 1 << 9, /// /// Whether the user is apart of a Discord developer team. /// TeamUser = 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. /// VerifiedBotDeveloper = 1 << 17, /// /// The user is a discord certified moderator. /// DiscordCertifiedModerator = 1 << 18, /// /// The user is a bot http interaction. /// - BotHttpInteractions = 1 << 19 + BotHttpInteractions = 1 << 19, + + /// + /// The user is flagged as spammer. + /// + Spammer = 1 << 20 } }