From b90b32de9e2f1864158e17bfb66de2a9c834bb58 Mon Sep 17 00:00:00 2001 From: LTS20050703 Date: Sun, 4 Sep 2022 23:32:26 +0700 Subject: [PATCH] BREAKING: add applicationCommandBadge flag and fix name of GatewayMessageContent (#2419) Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> --- types/shared.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/shared.ts b/types/shared.ts index 0627b16cb..419020846 100644 --- a/types/shared.ts +++ b/types/shared.ts @@ -82,9 +82,11 @@ export enum ApplicationFlags { /** Indicates if an app is embedded within the Discord client (currently unavailable publicly) */ Embedded = 1 << 17, /** Intent required for bots in **100 or more servers** to receive [message content](https://support-dev.discord.com/hc/en-us/articles/4404772028055) */ - GatewayMessageCount = 1 << 18, + GatewayMessageContent = 1 << 18, /** Intent required for bots in under 100 servers to receive [message content](https://support-dev.discord.com/hc/en-us/articles/4404772028055), found in Bot Settings */ GatewayMessageContentLimited = 1 << 19, + /** Indicates if an app has registered global application commands */ + ApplicationCommandBadge = 1 << 23, } /** https://discord.com/developers/docs/interactions/message-components#component-types */