From 67ecd76d3e2be179922bb975b864e9a0d3f5e1bd Mon Sep 17 00:00:00 2001 From: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com> Date: Sat, 5 Nov 2022 04:18:16 -0500 Subject: [PATCH] docs: add limits for tags in forums (#614) --- deno/rest/v10/channel.ts | 4 ++-- deno/rest/v9/channel.ts | 4 ++-- rest/v10/channel.ts | 4 ++-- rest/v9/channel.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index 7757bc8a..8331f054 100644 --- a/deno/rest/v10/channel.ts +++ b/deno/rest/v10/channel.ts @@ -145,7 +145,7 @@ export type RESTPatchAPIChannelJSONBody = AddUndefinedToPossiblyUndefinedPropert */ invitable?: boolean; /** - * The set of tags that can be used in a forum channel + * The set of tags that can be used in a forum channel; limited to 20 * * Channel types: forum */ @@ -618,7 +618,7 @@ export type RESTPostAPIGuildForumThreadsJSONBody = RESTPostAPIChannelMessagesThr */ message: RESTPostAPIChannelMessageJSONBody; /** - * The IDs of the set of tags that have been applied to a thread in a forum channel + * The IDs of the set of tags that have been applied to a thread in a forum channel; limited to 5 */ applied_tags?: Snowflake[]; }; diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index 761980a2..c1f9d94f 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -145,7 +145,7 @@ export type RESTPatchAPIChannelJSONBody = AddUndefinedToPossiblyUndefinedPropert */ invitable?: boolean; /** - * The set of tags that can be used in a forum channel + * The set of tags that can be used in a forum channel; limited to 20 * * Channel types: forum */ @@ -632,7 +632,7 @@ export type RESTPostAPIGuildForumThreadsJSONBody = RESTPostAPIChannelMessagesThr */ message: RESTPostAPIChannelMessageJSONBody; /** - * The IDs of the set of tags that have been applied to a thread in a forum channel + * The IDs of the set of tags that have been applied to a thread in a forum channel; limited to 5 */ applied_tags?: Snowflake[]; }; diff --git a/rest/v10/channel.ts b/rest/v10/channel.ts index e56db6ac..84519285 100644 --- a/rest/v10/channel.ts +++ b/rest/v10/channel.ts @@ -145,7 +145,7 @@ export type RESTPatchAPIChannelJSONBody = AddUndefinedToPossiblyUndefinedPropert */ invitable?: boolean; /** - * The set of tags that can be used in a forum channel + * The set of tags that can be used in a forum channel; limited to 20 * * Channel types: forum */ @@ -618,7 +618,7 @@ export type RESTPostAPIGuildForumThreadsJSONBody = RESTPostAPIChannelMessagesThr */ message: RESTPostAPIChannelMessageJSONBody; /** - * The IDs of the set of tags that have been applied to a thread in a forum channel + * The IDs of the set of tags that have been applied to a thread in a forum channel; limited to 5 */ applied_tags?: Snowflake[]; }; diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index 2ef589ae..b24b23c1 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -145,7 +145,7 @@ export type RESTPatchAPIChannelJSONBody = AddUndefinedToPossiblyUndefinedPropert */ invitable?: boolean; /** - * The set of tags that can be used in a forum channel + * The set of tags that can be used in a forum channel; limited to 20 * * Channel types: forum */ @@ -632,7 +632,7 @@ export type RESTPostAPIGuildForumThreadsJSONBody = RESTPostAPIChannelMessagesThr */ message: RESTPostAPIChannelMessageJSONBody; /** - * The IDs of the set of tags that have been applied to a thread in a forum channel + * The IDs of the set of tags that have been applied to a thread in a forum channel; limited to 5 */ applied_tags?: Snowflake[]; };