diff --git a/bot/awesomescibo.js b/bot/awesomescibo.js index 4b39579..40e2bc4 100755 --- a/bot/awesomescibo.js +++ b/bot/awesomescibo.js @@ -367,7 +367,6 @@ function aboutMessage(message) { async function rounds(action, interaction) { if (action === "generate") { - const generatingMessage = interaction.reply("Generating...", { ephemeral: true }); let i; let finalizedHTML = '

ROUND GENERATED BY AWESOMESCIBO USING THE SCIBOWLDB API

'; let tossup_question; @@ -405,11 +404,7 @@ async function rounds(action, interaction) { console.log(err); return; } - interaction.channel.messages.fetch(generatingMessage.id) - .then(generatingMessage => { - const msg = generatingMessage.first(); - msg.edit(`Here's your round: https://api.adawesome.tech/round/${round._id.toString()}`); - }); + interaction.reply(`Here's your round: https://api.adawesome.tech/round/${round._id.toString()}`); }); }); } else if (action === "list"){