Skip to content

Commit

Permalink
feat: Added applied_tags field to channel structure
Browse files Browse the repository at this point in the history
  • Loading branch information
polvallverdu authored Mar 4, 2024
1 parent 7b77c8c commit d4eb6cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/structures/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export class Channel {
readonly defaultAutoArchiveDuration?: number;
/** The available tags that can be used in posts (Forum channels only) */
readonly availableTags?: ForumTag[];
/** The applied tags of the thread (Threads inside forums only) */
readonly appliedTags?: string[];

private _permissionsBitfield?: Permissions;
private _permissions?: string;
Expand Down Expand Up @@ -94,6 +96,7 @@ export class Channel {
this.defaultForumLayout = data.default_forum_layout;
this.defaultAutoArchiveDuration = data.default_auto_archive_duration;
this.availableTags = data.available_tags;
this.appliedTags = data.applied_tags
}

/** The string that mentions this channel. */
Expand Down

0 comments on commit d4eb6cb

Please sign in to comment.