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

+5 -4
View File
@@ -19,7 +19,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)
]
@@ -30,7 +30,8 @@ module.exports = {
let queueString = '';
if (!queue) {
queueString = `There are no tracks in the queue. Add tracks with \`/play\`!`;
queueString =
'There are no tracks in the queue. Add tracks with `/play`!';
return await interaction.editReply({
embeds: [
new EmbedBuilder()
@@ -41,7 +42,7 @@ module.exports = {
.setDescription(`**Queue**\n${queueString}`)
.setColor(embedColors.colorInfo)
.setFooter({
text: `Page 1 of 1`
text: 'Page 1 of 1'
})
]
});
@@ -125,7 +126,7 @@ module.exports = {
iconURL: interaction.guild.iconURL()
})
.setDescription(
`**Currently playing**\n` +
'**Currently playing**\n' +
(currentTrack
? `**[${currentTrack.title}](${currentTrack.url})**`
: 'None') +