From 5b0dd201caed7b2e1b1343010be5c4e4a3f7bd51 Mon Sep 17 00:00:00 2001 From: VinceC <33974776+VinceC3@users.noreply.github.com> Date: Sat, 4 Jan 2025 12:36:08 -0600 Subject: [PATCH] Update Bot.js makes the find team command public --- src/Bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Bot.js b/src/Bot.js index 6cf4428..6b4c908 100644 --- a/src/Bot.js +++ b/src/Bot.js @@ -73,10 +73,10 @@ class Bot { try { if (interaction.isCommand()) { - // Remove ephemeral flag for finduser and matchhistory commands - const isStatsCommand = ['finduser', 'matchhistory'].includes(interaction.commandName); + // Remove ephemeral flag for finduser, matchhistory, and findteam commands + const isPublicCommand = ['finduser', 'matchhistory', 'findteam'].includes(interaction.commandName); await interaction.deferReply({ - ephemeral: !isStatsCommand + ephemeral: !isPublicCommand }); this.logger.debug('Processing command', {