diff --git a/packages/types/src/discord/components.ts b/packages/types/src/discord/components.ts index 8fb822b02..46d007fb1 100644 --- a/packages/types/src/discord/components.ts +++ b/packages/types/src/discord/components.ts @@ -459,7 +459,7 @@ export interface DiscordThumbnailComponent extends DiscordBaseComponent { /** A url or attachment */ media: DiscordUnfurledMediaItem; /** Alt text for the media, max 1024 characters */ - description?: string; + description?: string | null; /** Whether the thumbnail should be a spoiler (or blurred out). Defaults to `false` */ spoiler?: boolean; } @@ -477,7 +477,7 @@ export interface DiscordMediaGalleryItem { /** A url or attachment */ media: DiscordUnfurledMediaItem; /** Alt text for the media, max 1024 characters */ - description?: string; + description?: string | null; /** Whether the media should be a spoiler (or blurred out). Defaults to `false` */ spoiler?: boolean; } diff --git a/packages/types/src/discordeno/components.ts b/packages/types/src/discordeno/components.ts index 5152e0070..ced6c8673 100644 --- a/packages/types/src/discordeno/components.ts +++ b/packages/types/src/discordeno/components.ts @@ -365,7 +365,7 @@ export interface ThumbnailComponent extends BaseComponent { /** A url or attachment */ media: DiscordUnfurledMediaItem; /** Alt text for the media */ - description?: string; + description?: string | null; /** Whether the thumbnail should be a spoiler (or blurred out). Defaults to `false` */ spoiler?: boolean; }