Skip to content

Commit

Permalink
fix(RESTGetAPIChannelUsersThreadsArchivedResult): add has_more miss…
Browse files Browse the repository at this point in the history
…ing field (#543)
  • Loading branch information
Mateo-tem committed Aug 9, 2022
1 parent 4488d8f commit 796f6d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion deno/rest/v10/channel.ts
Expand Up @@ -665,4 +665,9 @@ export interface RESTGetAPIChannelThreadsArchivedQuery {
/**
* https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads
*/
export type RESTGetAPIChannelUsersThreadsArchivedResult = APIThreadList;
export interface RESTGetAPIChannelUsersThreadsArchivedResult extends APIThreadList {
/**
* Whether there are potentially additional threads
*/
has_more: boolean;
}
7 changes: 6 additions & 1 deletion rest/v10/channel.ts
Expand Up @@ -665,4 +665,9 @@ export interface RESTGetAPIChannelThreadsArchivedQuery {
/**
* https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads
*/
export type RESTGetAPIChannelUsersThreadsArchivedResult = APIThreadList;
export interface RESTGetAPIChannelUsersThreadsArchivedResult extends APIThreadList {
/**
* Whether there are potentially additional threads
*/
has_more: boolean;
}

0 comments on commit 796f6d8

Please sign in to comment.