You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
temptress-bot/patches/slash-create+5.5.2.patch

14 lines
649 B

diff --git a/node_modules/slash-create/lib/structures/interfaces/messageInteraction.d.ts b/node_modules/slash-create/lib/structures/interfaces/messageInteraction.d.ts
index 9ecfd7f..70ec168 100644
--- a/node_modules/slash-create/lib/structures/interfaces/messageInteraction.d.ts
+++ b/node_modules/slash-create/lib/structures/interfaces/messageInteraction.d.ts
@@ -153,7 +153,7 @@ export interface EditMessageOptions {
/** A file within {@link EditMessageOptions}. */
export interface MessageFile {
/** The attachment to send. */
- file: Buffer;
+ file: Blob | Uint8Array | File;
/** The name of the file. */
name: string;
}