From 52611242fb73ac56d8cfedd8953ce558bf6e842e Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 7 Aug 2023 09:31:50 +0100 Subject: [PATCH] fix(RESTPatchAPIChannelJSONBody): `available_tags` requires `name` only (#802) --- deno/rest/v10/channel.ts | 2 +- deno/rest/v9/channel.ts | 2 +- rest/v10/channel.ts | 2 +- rest/v9/channel.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index 30177634..39aa065a 100644 --- a/deno/rest/v10/channel.ts +++ b/deno/rest/v10/channel.ts @@ -150,7 +150,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: forum */ - available_tags?: APIGuildForumTag[] | undefined; + available_tags?: (Partial & Pick)[] | undefined; /** * The emoji to show in the add reaction button on a thread in a forum channel * diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index d20a5aad..1485af61 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -150,7 +150,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: forum */ - available_tags?: APIGuildForumTag[] | undefined; + available_tags?: (Partial & Pick)[] | undefined; /** * The emoji to show in the add reaction button on a thread in a forum channel * diff --git a/rest/v10/channel.ts b/rest/v10/channel.ts index 7a11b68f..869daac1 100644 --- a/rest/v10/channel.ts +++ b/rest/v10/channel.ts @@ -150,7 +150,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: forum */ - available_tags?: APIGuildForumTag[] | undefined; + available_tags?: (Partial & Pick)[] | undefined; /** * The emoji to show in the add reaction button on a thread in a forum channel * diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index 112937e2..449b82e5 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -150,7 +150,7 @@ export interface RESTPatchAPIChannelJSONBody { * * Channel types: forum */ - available_tags?: APIGuildForumTag[] | undefined; + available_tags?: (Partial & Pick)[] | undefined; /** * The emoji to show in the add reaction button on a thread in a forum channel *