From c8ef2fefde5b8a37dee40863d2a2e24df8b50e28 Mon Sep 17 00:00:00 2001 From: Almeida Date: Thu, 19 Mar 2026 07:35:02 +0000 Subject: [PATCH] feat(Guild): add collectibles to guild member (#1572) Co-authored-by: Claude Opus 4.6 (1M context) --- deno/payloads/v10/guild.ts | 8 +++++++- deno/payloads/v9/guild.ts | 8 +++++++- payloads/v10/guild.ts | 8 +++++++- payloads/v9/guild.ts | 8 +++++++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index cc8105f7..9e0f98c5 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -9,7 +9,7 @@ import type { PresenceUpdateReceiveStatus } from './gateway.ts'; import type { OAuth2Scopes } from './oauth2.ts'; import type { APIRole } from './permissions.ts'; import type { APISticker } from './sticker.ts'; -import type { APIAvatarDecorationData, APIUser } from './user.ts'; +import type { APIAvatarDecorationData, APICollectibles, APIUser } from './user.ts'; export interface APIBaseGuild { /** @@ -695,6 +695,12 @@ export interface APIBaseGuildMember { * @see {@link https://discord.com/developers/docs/resources/user#avatar-decoration-data-object} */ avatar_decoration_data?: APIAvatarDecorationData | null; + /** + * The data for the member's collectibles + * + * @see {@link https://discord.com/developers/docs/resources/user#collectibles} + */ + collectibles?: APICollectibles | null; } /** diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 0616ae7d..9c93d5e0 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -9,7 +9,7 @@ import type { PresenceUpdateReceiveStatus } from './gateway.ts'; import type { OAuth2Scopes } from './oauth2.ts'; import type { APIRole } from './permissions.ts'; import type { APISticker } from './sticker.ts'; -import type { APIAvatarDecorationData, APIUser } from './user.ts'; +import type { APIAvatarDecorationData, APICollectibles, APIUser } from './user.ts'; export interface APIBaseGuild { /** @@ -687,6 +687,12 @@ export interface APIBaseGuildMember { * @see {@link https://discord.com/developers/docs/resources/user#avatar-decoration-data-object} */ avatar_decoration_data?: APIAvatarDecorationData | null; + /** + * The data for the member's collectibles + * + * @see {@link https://discord.com/developers/docs/resources/user#collectibles} + */ + collectibles?: APICollectibles | null; } /** diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index ca229cac..a38568b3 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -9,7 +9,7 @@ import type { PresenceUpdateReceiveStatus } from './gateway'; import type { OAuth2Scopes } from './oauth2'; import type { APIRole } from './permissions'; import type { APISticker } from './sticker'; -import type { APIAvatarDecorationData, APIUser } from './user'; +import type { APIAvatarDecorationData, APICollectibles, APIUser } from './user'; export interface APIBaseGuild { /** @@ -695,6 +695,12 @@ export interface APIBaseGuildMember { * @see {@link https://discord.com/developers/docs/resources/user#avatar-decoration-data-object} */ avatar_decoration_data?: APIAvatarDecorationData | null; + /** + * The data for the member's collectibles + * + * @see {@link https://discord.com/developers/docs/resources/user#collectibles} + */ + collectibles?: APICollectibles | null; } /** diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index 92ac3918..4e58e38c 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -9,7 +9,7 @@ import type { PresenceUpdateReceiveStatus } from './gateway'; import type { OAuth2Scopes } from './oauth2'; import type { APIRole } from './permissions'; import type { APISticker } from './sticker'; -import type { APIAvatarDecorationData, APIUser } from './user'; +import type { APIAvatarDecorationData, APICollectibles, APIUser } from './user'; export interface APIBaseGuild { /** @@ -687,6 +687,12 @@ export interface APIBaseGuildMember { * @see {@link https://discord.com/developers/docs/resources/user#avatar-decoration-data-object} */ avatar_decoration_data?: APIAvatarDecorationData | null; + /** + * The data for the member's collectibles + * + * @see {@link https://discord.com/developers/docs/resources/user#collectibles} + */ + collectibles?: APICollectibles | null; } /**