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', {