From a555449001cbe87503e5ffe9b311aceb59592c63 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 3 Apr 2022 16:43:47 -0400 Subject: Audio states on control; Control can be ran once; Ping update, etc --- commands/list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'commands/list.js') diff --git a/commands/list.js b/commands/list.js index 247e060..2d7c5aa 100644 --- a/commands/list.js +++ b/commands/list.js @@ -29,7 +29,9 @@ export default { .setName('list') .setDescription('Lists the available audio tracks'), async execute(interaction) { + //If someone figures out how to either split the list or make pages when the max character reaches, please do so and make a pull request. + const beats = readdirSync(musicFolder).join('\n'); - await interaction.reply(`Listing the available audio tracks...\`\`\`${beats}\`\`\``); + await interaction.reply(`Listing the available audio tracks...\n\`\`\`\n${beats}\n\`\`\``); }, }; \ No newline at end of file -- cgit v1.2.3