From d63bea7dfc748472b2e5ed4e2d45752acc1a3d2a Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 10 Jun 2024 22:50:35 +0100 Subject: [PATCH] feat: Add use external apps permission (#999) --- deno/payloads/common.ts | 6 ++++++ payloads/common.ts | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/deno/payloads/common.ts b/deno/payloads/common.ts index b640d13b..8b20b4f6 100644 --- a/deno/payloads/common.ts +++ b/deno/payloads/common.ts @@ -282,6 +282,12 @@ export const PermissionFlagsBits = { * Applies to channel types: Text, Voice, Stage */ SendPolls: 1n << 49n, + /** + * Allows user-installed apps to send public responses. When disabled, users will still be allowed to use their apps but the responses will be ephemeral. This only applies to apps not also installed to the server + * + * Applies to channel types: Text, Voice, Stage + */ + UseExternalApps: 1n << 50n, } as const; /** diff --git a/payloads/common.ts b/payloads/common.ts index d8684ee5..5b320d86 100644 --- a/payloads/common.ts +++ b/payloads/common.ts @@ -282,6 +282,12 @@ export const PermissionFlagsBits = { * Applies to channel types: Text, Voice, Stage */ SendPolls: 1n << 49n, + /** + * Allows user-installed apps to send public responses. When disabled, users will still be allowed to use their apps but the responses will be ephemeral. This only applies to apps not also installed to the server + * + * Applies to channel types: Text, Voice, Stage + */ + UseExternalApps: 1n << 50n, } as const; /**