Browse Source

Fix syntax error

Missing a ) after } for a .then() block
pull/9/head
Abheek Dhawan 4 years ago
parent
commit
3244ba2eaf
  1. 6
      bot/awesomescibo.js

6
bot/awesomescibo.js

@ -365,15 +365,13 @@ async function generateRound(message) {
? console.log("Error creating saving generated round content") ? console.log("Error creating saving generated round content")
: console.log("Sucessfully created new entry for the generated round") : console.log("Sucessfully created new entry for the generated round")
); );
} });
if (generatingMsg) { if (generatingMsg) {
generatingMsg.delete({ timeout: 100 }).catch(console.error); generatingMsg.delete({ timeout: 100 }).catch(console.error);
} }
execSync(
message.channel.send( message.channel.send(
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setTitle("Here's your round!") .setTitle("Done?");
.attachFiles("round.pdf")
); );
} }

Loading…
Cancel
Save