Skip to content

Commit

Permalink
Refactor discord.js to log message body in getBody() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Nov 28, 2024
1 parent a030d84 commit c837ee2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/discord.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ function getBody() {

const body = getBody();

console.log("MESSAGE_BODY", body);

if (DISCORD_USERNAME) {
body.username = DISCORD_USERNAME;
}
Expand Down

0 comments on commit c837ee2

Please sign in to comment.