Merge branch 'main' into threads

This commit is contained in:
ITOH
2021-05-02 13:37:13 +02:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { EditWebhookMessage } from "../webhooks/edit_webhook_message.ts"; import { EditWebhookMessage } from "../webhooks/edit_webhook_message.ts";
export interface DiscordenoEditWebhookMessage extends EditWebhookMessage { export interface DiscordenoEditWebhookMessage extends EditWebhookMessage {
/** Id of the message you want to edit */ /** Id of the message you want to edit if undefined the initial response message will be edited */
messageId: string; messageId?: string;
} }
+1 -1
View File
@@ -10,7 +10,7 @@ export interface EditWebhookMessage {
/** Embedded `rich` content */ /** Embedded `rich` content */
embeds?: Embed[] | null; embeds?: Embed[] | null;
/** The contents of the file being sent/edited */ /** The contents of the file being sent/edited */
file: FileContent | FileContent[]; file?: FileContent | FileContent[];
/** Allowed mentions for the message */ /** Allowed mentions for the message */
allowedMentions?: AllowedMentions | null; allowedMentions?: AllowedMentions | null;
/** Attached files to keep */ /** Attached files to keep */