fix(RESTPatchAPIChannelJSONBody): available_tags requires name only (#802)

This commit is contained in:
Jiralite
2023-08-07 09:31:50 +01:00
committed by GitHub
parent d2bb76574b
commit 52611242fb
4 changed files with 4 additions and 4 deletions

View File

@@ -150,7 +150,7 @@ export interface RESTPatchAPIChannelJSONBody {
*
* Channel types: forum
*/
available_tags?: APIGuildForumTag[] | undefined;
available_tags?: (Partial<APIGuildForumTag> & Pick<APIGuildForumTag, 'name'>)[] | undefined;
/**
* The emoji to show in the add reaction button on a thread in a forum channel
*

View File

@@ -150,7 +150,7 @@ export interface RESTPatchAPIChannelJSONBody {
*
* Channel types: forum
*/
available_tags?: APIGuildForumTag[] | undefined;
available_tags?: (Partial<APIGuildForumTag> & Pick<APIGuildForumTag, 'name'>)[] | undefined;
/**
* The emoji to show in the add reaction button on a thread in a forum channel
*

View File

@@ -150,7 +150,7 @@ export interface RESTPatchAPIChannelJSONBody {
*
* Channel types: forum
*/
available_tags?: APIGuildForumTag[] | undefined;
available_tags?: (Partial<APIGuildForumTag> & Pick<APIGuildForumTag, 'name'>)[] | undefined;
/**
* The emoji to show in the add reaction button on a thread in a forum channel
*

View File

@@ -150,7 +150,7 @@ export interface RESTPatchAPIChannelJSONBody {
*
* Channel types: forum
*/
available_tags?: APIGuildForumTag[] | undefined;
available_tags?: (Partial<APIGuildForumTag> & Pick<APIGuildForumTag, 'name'>)[] | undefined;
/**
* The emoji to show in the add reaction button on a thread in a forum channel
*