From 18f0b9d60c44f69fad6eb4716659c79f08f46711 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 29 Mar 2022 00:03:42 -0400 Subject: Permission system on certain commands --- commands/list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/list.js') 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 -- cgit v1.2.3