diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-07-10 01:05:59 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-07-10 01:05:59 -0400 |
| commit | 626cef85162b08c1808d8f88b5b245060ff0dd54 (patch) | |
| tree | 7a1c6acfd3e2667fadafcff1536d55589b71d3da /commands/list.js | |
| parent | e5020f2c6231f11785725e286c5155fcbeeaccd7 (diff) | |
| download | DLAP-626cef85162b08c1808d8f88b5b245060ff0dd54.tar.gz DLAP-626cef85162b08c1808d8f88b5b245060ff0dd54.tar.bz2 DLAP-626cef85162b08c1808d8f88b5b245060ff0dd54.zip | |
Added another eslint rule
Diffstat (limited to 'commands/list.js')
| -rw-r--r-- | commands/list.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/list.js b/commands/list.js index 9d7a7fd..8f2010b 100644 --- a/commands/list.js +++ b/commands/list.js @@ -28,11 +28,11 @@ export default { data: new SlashCommandBuilder() .setName('list') .setDescription('Lists the available audio tracks'), - async execute (interaction) { + 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'); - readdir(musicFolder, async (err, files) => { + readdir(musicFolder, async(err, files) => { await interaction.reply( `Listing ${files.length} audio tracks...\n\`\`\`\n${beats}\n\`\`\`` ); |
