diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-04-03 16:43:47 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-04-03 16:43:47 -0400 |
| commit | a555449001cbe87503e5ffe9b311aceb59592c63 (patch) | |
| tree | bf2920c4532ca65b5837d459e46bbe53c893de76 /commands/list.js | |
| parent | daf3c1735513bb252614a0047116088e242f7984 (diff) | |
| download | DLAP-a555449001cbe87503e5ffe9b311aceb59592c63.tar.gz DLAP-a555449001cbe87503e5ffe9b311aceb59592c63.tar.bz2 DLAP-a555449001cbe87503e5ffe9b311aceb59592c63.zip | |
Audio states on control; Control can be ran once; Ping update, etc
Diffstat (limited to 'commands/list.js')
| -rw-r--r-- | commands/list.js | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
