aboutsummaryrefslogtreecommitdiff
path: root/commands/list.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-03-29 20:41:38 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-03-29 20:41:38 -0400
commitfd89e36490da711ba611c1f7c8dda93a3de054f0 (patch)
treee8c1114add718665c75bb90e7af90a9f38101815 /commands/list.js
parent84b7017c7016aea12339ec4a3ef2ba1bf0fb3872 (diff)
downloadDLAP-fd89e36490da711ba611c1f7c8dda93a3de054f0.tar.gz
DLAP-fd89e36490da711ba611c1f7c8dda93a3de054f0.tar.bz2
DLAP-fd89e36490da711ba611c1f7c8dda93a3de054f0.zip
New command; Every Discord interation is async
Diffstat (limited to 'commands/list.js')
-rw-r--r--commands/list.js2
1 files changed, 1 insertions, 1 deletions
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);
});