From 796f6d8a3b2f55d2a120137801e0450ddf30576e Mon Sep 17 00:00:00 2001 From: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com> Date: Tue, 9 Aug 2022 15:40:46 -0500 Subject: [PATCH] fix(RESTGetAPIChannelUsersThreadsArchivedResult): add `has_more` missing field (#543) --- deno/rest/v10/channel.ts | 7 ++++++- rest/v10/channel.ts | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index 72ad9ac06..7cdcd7127 100644 --- a/deno/rest/v10/channel.ts +++ b/deno/rest/v10/channel.ts @@ -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; +} diff --git a/rest/v10/channel.ts b/rest/v10/channel.ts index b35f64e5f..3cb897a84 100644 --- a/rest/v10/channel.ts +++ b/rest/v10/channel.ts @@ -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; +}