From df8cc468827d3d11630f8f2f214f44afe8d30fea Mon Sep 17 00:00:00 2001 From: Fleny Date: Mon, 6 Oct 2025 18:16:22 +0200 Subject: [PATCH] fix(types,bot): Update channel.permissions description (#4513) --- packages/bot/src/transformers/types.ts | 2 +- packages/types/src/discord/channel.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bot/src/transformers/types.ts b/packages/bot/src/transformers/types.ts index 7c48406dd..c6db88dd6 100644 --- a/packages/bot/src/transformers/types.ts +++ b/packages/bot/src/transformers/types.ts @@ -418,7 +418,7 @@ export interface Channel { member?: ThreadMember /** Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080 */ defaultAutoArchiveDuration?: number - /** computed permissions for the invoking user in the channel, including overwrites, only included when part of the resolved data received on a slash command interaction. This does not include implicit permissions, which may need to be checked separately. */ + /** computed permissions for the invoking user in the channel, including overwrites, only included when part of the resolved data received on an interaction. This does not include implicit permissions, which may need to be checked separately. */ permissions?: Permissions /** The flags of the channel */ flags?: number diff --git a/packages/types/src/discord/channel.ts b/packages/types/src/discord/channel.ts index c7a5a8453..698a9a1cb 100644 --- a/packages/types/src/discord/channel.ts +++ b/packages/types/src/discord/channel.ts @@ -108,7 +108,7 @@ export interface DiscordChannel extends Partial { * @remarks * The computed permissions include channel overwrites but does not include implicit permissions, those need to be checked separatly. * - * Only presented when part of `resolved` data received from a slash command interaction. + * Only presented when part of `resolved` data received on an interaction. */ permissions?: string /** The flags of the channel */