From c837ee21dbfe56e79077fbdbdb4b3f349f613d77 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Wed, 27 Nov 2024 18:53:58 -0800 Subject: [PATCH] Refactor discord.js to log message body in getBody() function --- scripts/discord.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/discord.js b/scripts/discord.js index c2fdd90..00de0f0 100644 --- a/scripts/discord.js +++ b/scripts/discord.js @@ -38,6 +38,8 @@ function getBody() { const body = getBody(); +console.log("MESSAGE_BODY", body); + if (DISCORD_USERNAME) { body.username = DISCORD_USERNAME; }