diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-03-29 00:03:42 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-03-29 00:03:42 -0400 |
| commit | 18f0b9d60c44f69fad6eb4716659c79f08f46711 (patch) | |
| tree | 9f18c1753bfb3fd695a0cc26068d3dc1515cb153 /commands/list.js | |
| parent | 08aae8cd9e5417bd7451b9af2e3190bf9c6a4e43 (diff) | |
| download | DLAP-18f0b9d60c44f69fad6eb4716659c79f08f46711.tar.gz DLAP-18f0b9d60c44f69fad6eb4716659c79f08f46711.tar.bz2 DLAP-18f0b9d60c44f69fad6eb4716659c79f08f46711.zip | |
Permission system on certain commands
Diffstat (limited to 'commands/list.js')
| -rw-r--r-- | commands/list.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/list.js b/commands/list.js index 00c984e..4ec7156 100644 --- a/commands/list.js +++ b/commands/list.js @@ -29,9 +29,9 @@ export default { .setName('list') .setDescription('Lists the available audio tracks'), async execute(interaction) { - /* + interaction.reply('Listing the available audio tracks...'); fs.readdirSync(musicFolder).forEach(file => { - return interaction.reply('Listing the available audio tracks...\n' + file); - });*/ + console.log(file); + }); }, };
\ No newline at end of file |
