fix: Added eslint and prettier-eslint for formatting and linting

This commit is contained in:
Marius Begby committed 2023-07-13 11:35:39 +02:00
1 parent 78dcc1b2e9
commit d0f1c4103a
19 files changed
+1638 -71

No files matched your search

+11 -12
View File
@@ -1,5 +1,4 @@
const { SlashCommandBuilder } = require('@discordjs/builders');
const { useMainPlayer, useQueue } = require('discord-player');
const { EmbedBuilder } = require('discord.js');
const { embedColors } = require('../config.json');
@@ -12,17 +11,17 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`**List of commands**\n` +
`\`/help\` - Show this menu.\n` +
`\`/play\` \`query\` - Add a track or playlist to the queue by searching or url.\n` +
`\`/pause\` - Pause or resume the current track.\n` +
`\`/queue\` \`[page]\` - Show the list of tracks added to the queue.\n` +
`\`/nowplaying\` - Show information about the track currently playing.\n` +
`\`/filters\` - Toggle various audio filters during playback.\n` +
`\`/volume\` \`[percentage]\` - Show or set the playback volume for tracks.\n` +
`\`/skip\` \`[trackNumber]\` - Skip the current track.\n` +
`\`/remove\` \`trackNumber\` - Remove a specific track from the queue.\n` +
`\`/leave\` - Remove bot from voice channel and clear the queue.\n`
'**List of commands**\n' +
'`/help` - Show this menu.\n' +
'`/play` `query` - Add a track or playlist to the queue by searching or url.\n' +
'`/pause` - Pause or resume the current track.\n' +
'`/queue` `[page]` - Show the list of tracks added to the queue.\n' +
'`/nowplaying` - Show information about the track currently playing.\n' +
'`/filters` - Toggle various audio filters during playback.\n' +
'`/volume` `[percentage]` - Show or set the playback volume for tracks.\n' +
'`/skip` `[trackNumber]` - Skip the current track.\n' +
'`/remove` `trackNumber` - Remove a specific track from the queue.\n' +
'`/leave` - Remove bot from voice channel and clear the queue.\n'
)
.setColor(embedColors.colorInfo)
]