Dev (#8)
* health check * Update Dockerfile * simplifying the deployment * Update Bot.js makes the find team command public
This commit is contained in:
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user