From 297af07a945aa28eb0bf0b73bf130a0a71c228c4 Mon Sep 17 00:00:00 2001 From: Cynthia Date: Fri, 2 Dec 2022 23:52:14 -0700 Subject: [PATCH] foxwells.vinboard: fix attachments try 2 --- src/modules/foxwells.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/foxwells.js b/src/modules/foxwells.js index bb706d4..143a9ff 100644 --- a/src/modules/foxwells.js +++ b/src/modules/foxwells.js @@ -239,7 +239,7 @@ async function createBoardMessage(msg, count) { username: msg.member?.displayName ?? msg.author.username, threadID: VINBOARD_THREAD_ID, embeds: [embed], - files: image.file ? [{contents: image.file, filename: "thumb.jpg"}] : null, + files: image.file ? [{contents: image.file, name: "thumb.jpg"}] : null, wait: true, }; }