Skip to content

Commit

Permalink
fix(RESTPatchAPIChannelJSONBody): available_tags requires name on…
Browse files Browse the repository at this point in the history
…ly (#802)
  • Loading branch information
Jiralite committed Aug 7, 2023
1 parent d2bb765 commit 5261124
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno/rest/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
2 changes: 1 addition & 1 deletion deno/rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
2 changes: 1 addition & 1 deletion rest/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
2 changes: 1 addition & 1 deletion rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

1 comment on commit 5261124

@vercel
Copy link

@vercel vercel bot commented on 5261124 Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.