From 57d4628d2b3df334c9165f00bcffbf92ae11d2af Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sun, 8 Jan 2023 14:32:25 +0700 Subject: [PATCH] types(ThreadEditOptions): Add `appliedTags` #9022 djs --- src/structures/ThreadChannel.js | 1 + typings/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/structures/ThreadChannel.js b/src/structures/ThreadChannel.js index e578319..c22b92d 100644 --- a/src/structures/ThreadChannel.js +++ b/src/structures/ThreadChannel.js @@ -330,6 +330,7 @@ class ThreadChannel extends Channel { * @property {number} [rateLimitPerUser] The rate limit per user (slowmode) for the thread in seconds * @property {boolean} [locked] Whether the thread is locked * @property {boolean} [invitable] Whether non-moderators can add other non-moderators to a thread + * @property {Snowflake[]} [appliedTags] The tags to apply to the thread * Can only be edited on `GUILD_PRIVATE_THREAD` * @property {ChannelFlagsResolvable} [flags] The flags to set on the channel */ diff --git a/typings/index.d.ts b/typings/index.d.ts index 460dcae..51c8450 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -7090,6 +7090,7 @@ export interface ThreadEditData { locked?: boolean; invitable?: boolean; threadName?: string; + appliedTags?: Snowflake[]; flags?: ChannelFlagsResolvable; }