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

+4 -4
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');
@@ -17,7 +17,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)
]
@@ -31,7 +31,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`**Failed**\nNo tracks are currently playing, and the queue is empty. Use the \`/play\` command to play some music!`
'**Failed**\nNo tracks are currently playing, and the queue is empty. Use the `/play` command to play some music!'
)
.setColor(embedColors.colorWarning)
]
@@ -45,7 +45,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`**Leaving**\nCleared the track queue and left voice channel. To play more music, use the \`/play\` command!`
'**Leaving**\nCleared the track queue and left voice channel. To play more music, use the `/play` command!'
)
.setColor(embedColors.colorSuccess)
]