From 339846983d4c676544e52bd2919d98cf65bb7e49 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 15 Jan 2022 23:53:05 -0600 Subject: [PATCH] Attempt to fix ephemeral response not working --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9a779cc..971703d 100755 --- a/index.js +++ b/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`);