From 3244ba2eafd3bd3288321183286481c7bccbb1c0 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 1 May 2021 23:18:01 -0500 Subject: [PATCH] Fix syntax error Missing a ) after } for a .then() block --- bot/awesomescibo.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot/awesomescibo.js b/bot/awesomescibo.js index 495c2c3..2f487d1 100755 --- a/bot/awesomescibo.js +++ b/bot/awesomescibo.js @@ -365,15 +365,13 @@ async function generateRound(message) { ? console.log("Error creating saving generated round content") : console.log("Sucessfully created new entry for the generated round") ); - } + }); if (generatingMsg) { generatingMsg.delete({ timeout: 100 }).catch(console.error); } - execSync( message.channel.send( new Discord.MessageEmbed() - .setTitle("Here's your round!") - .attachFiles("round.pdf") + .setTitle("Done?"); ); }