From c02e85aafe2b45e83e4b974911848896c15930f7 Mon Sep 17 00:00:00 2001 From: Cynthia Date: Fri, 2 Dec 2022 23:32:51 -0700 Subject: [PATCH] foxwells.vinboard: specify wait --- src/modules/foxwells.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/foxwells.js b/src/modules/foxwells.js index ee42cbd..ae238bb 100644 --- a/src/modules/foxwells.js +++ b/src/modules/foxwells.js @@ -244,6 +244,7 @@ async function createBoardMessage(msg, count) { threadID: VINBOARD_THREAD_ID, embeds: [embed], files: image.file ? [{file: image.file, filename: "thumb.jpg"}] : null, + wait: true, }; } @@ -324,6 +325,7 @@ async function processReaction(_msg, user, reaction) { const boardMessage = await vinboard_webhook.execute( await createBoardMessage(msg, trueCount) ); + logger.debug("vinboard", JSON.stringfy(boardMessage)); await setBoardEntry(msg.id, trueCount, boardMessage.id); } }