diff --git a/DisCatSharp/Enums/Application/ApplicationFlags.cs b/DisCatSharp/Enums/Application/ApplicationFlags.cs index 9e1ba73df..611d11a97 100644 --- a/DisCatSharp/Enums/Application/ApplicationFlags.cs +++ b/DisCatSharp/Enums/Application/ApplicationFlags.cs @@ -1,98 +1,103 @@ // 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 an application. /// [Flags] public enum ApplicationFlags { /// /// The application is embedded and can be used by users. /// This was introdruced to avoid users using in-dev apps. /// EmbeddedReleased = 1 << 1, /// /// The application is a managed emoji. /// ManagedEmoji = 1 << 2, /// /// The application can create group dms. /// GroupDmCreate = 1 << 5, /// /// The application has connected to RPC. /// RpcHasConnected = 1 << 11, /// /// The application can track presence data. /// GatewayPresence = 1 << 12, /// /// The application can track presence data (limited). /// GatewayPresenceLimited = 1 << 13, /// /// The application can track guild members. /// GatewayGuildMembers = 1 << 14, /// /// The application can track guild members (limited). /// GatewayGuildMembersLimited = 1 << 15, /// /// The application can track pending guild member verifications (limited). /// VerificationPendingGuildLimit = 1 << 16, /// /// The application is embedded. /// Embedded = 1 << 17, /// /// The application can track message content. /// GatewayMessageContent = 1 << 18, /// /// The application can track message content (limited). /// GatewayMessageContentLimited = 1 << 19, /// /// Related to embedded applications. /// - EmbeddedFirstParty = 1 << 20 + EmbeddedFirstParty = 1 << 20, + + /// + /// The application has registered global application commands. + /// + ApplicationCommandBadge = 1 << 23 }