diff --git a/commands/ffattacks.js b/commands/ffattacks.js index e62bd0e..34bab7a 100644 --- a/commands/ffattacks.js +++ b/commands/ffattacks.js @@ -232,7 +232,6 @@ async function ffattacks(bot, api, interaction, pingBool, channel, clan, guildID }); - console.log("ffattacks debug") await functions.renderCommand(interaction, tmpFile, 0) } diff --git a/utils/functions.js b/utils/functions.js index 9c88389..64d1904 100644 --- a/utils/functions.js +++ b/utils/functions.js @@ -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 });