Skip to content

Commit

Permalink
Updated channel permissions description (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbrettnich authored May 8, 2024
1 parent 4c06fb5 commit 0b66b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 0b66b40

Please sign in to comment.