From 0b66b40d9473db176638088c8efc6b45b2f89db8 Mon Sep 17 00:00:00 2001 From: Felix Date: Wed, 8 May 2024 22:19:49 +0200 Subject: [PATCH] Updated channel permissions description (#613) --- src/structures/channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/channel.ts b/src/structures/channel.ts index 72f2880b..dc1cdfcd 100644 --- a/src/structures/channel.ts +++ b/src/structures/channel.ts @@ -104,7 +104,7 @@ export class Channel { return `<#${this.id}>`; } - /** The permissions the application has in the channel. */ + /** The computed permissions for the invoking user in the channel, including overwrites, excluding implicit permissions. */ get permissions() { if (!this._permissions) return null; if (!this._permissionsBitfield) this._permissionsBitfield = new Permissions(BigInt(this._permissions));