Browse Source

Make generated round message ephemeral

pull/10/head
Abheek Dhawan 4 years ago
parent
commit
3d556533e8
  1. 2
      bot/awesomescibo.js

2
bot/awesomescibo.js

@ -367,7 +367,7 @@ function aboutMessage(message) {
async function rounds(action, interaction) {
if (action === "generate") {
const generatingMessage = interaction.reply("Generating...");
const generatingMessage = interaction.reply("Generating...", { ephemeral: true });
let i;
let finalizedHTML = '<html><head><link rel="preconnect" href="https://fonts.gstatic.com"><link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet"> </head><body style="width: 70%; margin-left: auto; margin-right: auto;"><h2 style="text-align: center; text-decoration: underline overline; padding: 7px;">ROUND GENERATED BY AWESOMESCIBO USING THE SCIBOWLDB API</h2>';
let tossup_question;

Loading…
Cancel
Save