mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
fix: Added eslint and prettier-eslint for formatting and linting
This commit is contained in:
1 parent
78dcc1b2e9
commit
d0f1c4103a
19 files changed
+1638
-71
No files matched your search
+4
-4
@@ -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 playing or in the queue. Add tracks with \`/play\`!`
|
||||
'**Failed**\nThere are no tracks playing or in the queue. Add tracks with `/play`!'
|
||||
)
|
||||
.setColor(embedColors.colorWarning)
|
||||
]
|
||||
@@ -58,7 +58,7 @@ module.exports = {
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setDescription(
|
||||
`**Error**\nYou need to pick a number between \`1\` and \`100\`.`
|
||||
'**Error**\nYou need to pick a number between `1` and `100`.'
|
||||
)
|
||||
.setColor(embedColors.colorError)
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user