Skip to content

Commit

Permalink
new debug
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixLusseau committed Jun 8, 2024
1 parent e0dec4f commit 0ba2819
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion commands/ffattacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ async function ffattacks(bot, api, interaction, pingBool, channel, clan, guildID

});

console.log("ffattacks debug")
await functions.renderCommand(interaction, tmpFile, 0)
}

Expand Down
1 change: 1 addition & 0 deletions utils/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ async function renderCommand(interaction, tmpFile, wait) {

// Wait for the chart to be rendered
await new Promise(resolve => setTimeout(resolve, wait));
console.log("ffattacks debug")

// Capture a screenshot of the rendered content
await page.screenshot({ path: tmpFile + ".png", fullPage: true });
Expand Down

0 comments on commit 0ba2819

Please sign in to comment.