fix(types,bot): Update channel.permissions description (#4513)

This commit is contained in:
Fleny
2025-10-06 18:16:22 +02:00
committed by GitHub
parent 66db044ad0
commit df8cc46882
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -108,7 +108,7 @@ export interface DiscordChannel extends Partial<DiscordThreadCreateExtra> {
* @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 */