From fd89e36490da711ba611c1f7c8dda93a3de054f0 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 29 Mar 2022 20:41:38 -0400 Subject: New command; Every Discord interation is async --- commands/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/list.js') diff --git a/commands/list.js b/commands/list.js index 4ec7156..673b779 100644 --- a/commands/list.js +++ b/commands/list.js @@ -29,7 +29,7 @@ export default { .setName('list') .setDescription('Lists the available audio tracks'), async execute(interaction) { - interaction.reply('Listing the available audio tracks...'); + await interaction.reply('Listing the available audio tracks...'); fs.readdirSync(musicFolder).forEach(file => { console.log(file); }); -- cgit v1.2.3