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

+3 -3
View File
@@ -1,5 +1,5 @@
const { SlashCommandBuilder } = require('@discordjs/builders');
const { useMainPlayer, useQueue } = require('discord-player');
const { useQueue } = require('discord-player');
const { EmbedBuilder } = require('discord.js');
const { embedColors } = require('../config.json');
@@ -20,7 +20,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`**Failed**\nYou need to be in a voice channel to use this command.`
'**Failed**\nYou need to be in a voice channel to use this command.'
)
.setColor(embedColors.colorWarning)
]
@@ -34,7 +34,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!`
'**Failed**\nThere are no tracks in the queue. Add tracks with `/play`!'
)
.setColor(embedColors.colorWarning)
]