diff --git a/src/commands/list.ts b/src/commands/list.ts index 20a9115..cfb5b25 100644 --- a/src/commands/list.ts +++ b/src/commands/list.ts @@ -24,6 +24,8 @@ class List extends Command { return; } + await interaction.deferReply(); + const maxNameLength = players.reduce((max: number, next: Player) => Math.max(max, next.toString().length), 0); const maxProgressDigits = players.reduce((max, next) => Math.max(max, Math.abs(next.getProgress()).toString().length), 0); @@ -58,7 +60,7 @@ class List extends Command { ]) .setThumbnail(iconURL); - await interaction.reply({embeds: [embed]}); + await interaction.editReply({embeds: [embed]}); } }