foxwells.vinboard: fix attachments try 2

This commit is contained in:
Cynthia Foxwell 2022-12-02 23:52:14 -07:00
parent 050c2df232
commit 297af07a94

View file

@ -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,
};
}