From 422b572777ff16dd26c555025d3116cc126ccfc8 Mon Sep 17 00:00:00 2001 From: Fleny Date: Sun, 26 Jul 2026 02:09:20 +0200 Subject: [PATCH] fix: update attachments description to clarify components & embeds behavior (#5200) --- packages/types/src/discord/message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/discord/message.ts b/packages/types/src/discord/message.ts index b7ab134a0..2980eed92 100644 --- a/packages/types/src/discord/message.ts +++ b/packages/types/src/discord/message.ts @@ -49,7 +49,7 @@ export interface DiscordMessage extends Partial { * Note: Not all channel mentions in a message will appear in `mention_channels`. Only textual channels that are visible to everyone in a discoverable guild will ever be included. Only crossposted messages (via Channel Following) currently include `mention_channels` at all. If no mentions in the message meet these requirements, this field will not be sent. */ mention_channels?: DiscordChannelMention[]; - /** Any attached files */ + /** Any attached files that are not referenced in embeds or components */ attachments: DiscordAttachment[]; /** Any embedded content */ embeds: DiscordEmbed[];