From 42e73e7718ea7e854cf4eab20be31e4eb1d5b57f Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Thu, 6 May 2021 14:48:09 +0200 Subject: [PATCH] Update edit_webhook_message.ts --- src/types/webhooks/edit_webhook_message.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/types/webhooks/edit_webhook_message.ts b/src/types/webhooks/edit_webhook_message.ts index ea18f54a5..dc883cb36 100644 --- a/src/types/webhooks/edit_webhook_message.ts +++ b/src/types/webhooks/edit_webhook_message.ts @@ -1,7 +1,8 @@ +import { FileContent } from "../discordeno/file_content.ts"; import { Embed } from "../embeds/embed.ts"; import { AllowedMentions } from "../messages/allowed_mentions.ts"; import { Attachment } from "../messages/attachment.ts"; -import { FileContent } from "../discordeno/file_content.ts"; +import { MessageComponents } from "../messages/components/message_components.ts"; /** https://discord.com/developers/docs/resources/webhook#edit-webhook-message-jsonform-params */ export interface EditWebhookMessage { @@ -15,4 +16,6 @@ export interface EditWebhookMessage { allowedMentions?: AllowedMentions | null; /** Attached files to keep */ attachments?: Attachment | null; + /** The components you would like to have sent in this message */ + components?: MessageComponents; }