mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
fix: update eslint to respect typescript and run eslint fix
This commit is contained in:
1 parent
9125e4a5da
commit
1a7f800ba2
15 files changed
+325
-77
No files matched your search
@@ -28,9 +28,9 @@ module.exports = {
|
||||
return true;
|
||||
})
|
||||
.map((command) => {
|
||||
let params = command.data.options[0] ? `**\`${command.data.options[0].name}\`**` + ' ' : '';
|
||||
let beta = command.isBeta ? `${embedOptions.icons.beta} ` : '';
|
||||
let newCommand = command.isNew ? `${embedOptions.icons.new} ` : '';
|
||||
const params = command.data.options[0] ? `**\`${command.data.options[0].name}\`**` + ' ' : '';
|
||||
const beta = command.isBeta ? `${embedOptions.icons.beta} ` : '';
|
||||
const newCommand = command.isNew ? `${embedOptions.icons.new} ` : '';
|
||||
return `- **\`/${command.data.name}\`** ${params}- ${beta}${newCommand}${command.data.description}`;
|
||||
});
|
||||
|
||||
|
||||
@@ -39,9 +39,9 @@ module.exports = {
|
||||
return player.generateStatistics();
|
||||
})
|
||||
.then((results) => {
|
||||
let queueCountList = [];
|
||||
let trackCountList = [];
|
||||
let listenerCountList = [];
|
||||
const queueCountList = [];
|
||||
const trackCountList = [];
|
||||
const listenerCountList = [];
|
||||
results.map((result) => {
|
||||
queueCountList.push(result.queues.length);
|
||||
if (result.queues.length > 0) {
|
||||
|
||||
Reference in new issue
Block a user