Browse Source

Attempt to fix ephemeral response not working

pull/19/head
Abheek Dhawan 3 years ago
parent
commit
339846983d
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 2
      index.js

2
index.js

@ -453,7 +453,7 @@ async function rounds(action, interaction) {
async function result(interaction) {
if (interaction.channel.id !== "930275699644825600") {
return interaction.reply("This command is unavailable outside of the designated channel.", { ephemeral: true });
return interaction.reply({ content: "This command is unavailable outside of the designated channel.", ephemeral: true });
}
const resultEmbed = new Discord.MessageEmbed();
resultEmbed.setTitle(`${interaction.options.get('location').value} Regionals`);

Loading…
Cancel
Save