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