From d03fb4b425772ac529be5fe002df3d9fd8bedac5 Mon Sep 17 00:00:00 2001 From: Snazzah Date: Wed, 18 Sep 2024 23:05:01 -0500 Subject: [PATCH] types: also support attachment titles --- src/structures/interfaces/messageInteraction.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/structures/interfaces/messageInteraction.ts b/src/structures/interfaces/messageInteraction.ts index 7e668e31..50dc4ce5 100644 --- a/src/structures/interfaces/messageInteraction.ts +++ b/src/structures/interfaces/messageInteraction.ts @@ -430,6 +430,8 @@ export interface MessageAttachmentOptions { name?: string; /** The ID of the attachment. For existing attachments, this must be the ID snowflake of the attachment, otherwise, this will be the index of the files being sent to Discord. */ id: string | number; + /** The title of the attachment. */ + title?: string; /** The description of the attachment. */ description?: string; /** The duration, in seconds, of the voice message. */