From a73d1d0ce2a463c34b282963b5aac5693d5260e0 Mon Sep 17 00:00:00 2001 From: kshitijanurag Date: Tue, 17 Mar 2026 05:06:23 +0530 Subject: [PATCH] docs: update TSDoc comments for `PermissionFlagsBits` (#1558) --- deno/payloads/common.ts | 7 +++---- payloads/common.ts | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/deno/payloads/common.ts b/deno/payloads/common.ts index 4da7f318..f2b84f82 100644 --- a/deno/payloads/common.ts +++ b/deno/payloads/common.ts @@ -17,7 +17,6 @@ export const PermissionFlagsBits = { /** * Allows kicking members */ - KickMembers: 1n << 1n, /** * Allows banning members @@ -38,7 +37,7 @@ export const PermissionFlagsBits = { */ ManageGuild: 1n << 5n, /** - * Allows for the addition of reactions to messages + * Allows for the addition of reactions to messages. This permission does not apply to reacting with an existing reaction on a message * * Applies to channel types: Text, Voice, Stage */ @@ -234,9 +233,9 @@ export const PermissionFlagsBits = { */ SendMessagesInThreads: 1n << 38n, /** - * Allows for using Activities (applications with the {@link ApplicationFlags.Embedded} flag) in a voice channel + * Allows for using Activities (applications with the {@link ApplicationFlags.Embedded} flag) * - * Applies to channel types: Voice + * Applies to channel types: Text, Voice */ UseEmbeddedActivities: 1n << 39n, /** diff --git a/payloads/common.ts b/payloads/common.ts index d66a40d7..acb537eb 100644 --- a/payloads/common.ts +++ b/payloads/common.ts @@ -17,7 +17,6 @@ export const PermissionFlagsBits = { /** * Allows kicking members */ - KickMembers: 1n << 1n, /** * Allows banning members @@ -38,7 +37,7 @@ export const PermissionFlagsBits = { */ ManageGuild: 1n << 5n, /** - * Allows for the addition of reactions to messages + * Allows for the addition of reactions to messages. This permission does not apply to reacting with an existing reaction on a message * * Applies to channel types: Text, Voice, Stage */ @@ -234,9 +233,9 @@ export const PermissionFlagsBits = { */ SendMessagesInThreads: 1n << 38n, /** - * Allows for using Activities (applications with the {@link ApplicationFlags.Embedded} flag) in a voice channel + * Allows for using Activities (applications with the {@link ApplicationFlags.Embedded} flag) * - * Applies to channel types: Voice + * Applies to channel types: Text, Voice */ UseEmbeddedActivities: 1n << 39n, /**