From 522a3f6e80662cac659fca4b4e89e30932346d67 Mon Sep 17 00:00:00 2001 From: Misha133 Date: Sat, 10 Dec 2022 18:41:21 +0300 Subject: [PATCH] add missing application flags --- .../Entities/ApplicationFlags.cs | 41 ++++++++++++------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/src/Discord.Net.Core/Entities/ApplicationFlags.cs b/src/Discord.Net.Core/Entities/ApplicationFlags.cs index 1ede4257d..0410f63b5 100644 --- a/src/Discord.Net.Core/Entities/ApplicationFlags.cs +++ b/src/Discord.Net.Core/Entities/ApplicationFlags.cs @@ -4,20 +4,31 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Discord +namespace Discord; + +/// +/// Represents public flags for an application. +/// +public enum ApplicationFlags { - /// - /// Represents public flags for an application. - /// - public enum ApplicationFlags - { - GatewayPresence = 1 << 12, - GatewayPresenceLimited = 1 << 13, - GatewayGuildMembers = 1 << 14, - GatewayGuildMembersLimited = 1 << 15, - VerificationPendingGuildLimit = 1 << 16, - Embedded = 1 << 17, - GatewayMessageContent = 1 << 18, - GatewayMessageContentLimited = 1 << 19 - } + GatewayPresence = 1 << 12, + + GatewayPresenceLimited = 1 << 13, + + GatewayGuildMembers = 1 << 14, + + GatewayGuildMembersLimited = 1 << 15, + + VerificationPendingGuildLimit = 1 << 16, + + Embedded = 1 << 17, + + GatewayMessageContent = 1 << 18, + + GatewayMessageContentLimited = 1 << 19, + + ApplicationCommandBadge = 1 << 23, + + ActiveApplication = 1 << 24 } +