fix: update eslint to respect typescript and run eslint fix

This commit is contained in:
Marius Begby committed 2023-08-26 23:01:12 +02:00
1 parent 9125e4a5da
commit 1a7f800ba2
15 files changed
+325 -77

No files matched your search

+2 -2
View File
@@ -56,11 +56,11 @@ module.exports = {
}
const commands = client.commands.map((command) => {
let params = command.data.options[0] ? `**\`${command.data.options[0].name}\`**` + ' ' : '';
const params = command.data.options[0] ? `**\`${command.data.options[0].name}\`**` + ' ' : '';
return `- **\`/${command.data.name}\`** ${params}- ${command.data.description}`;
});
let embedDescription = `**${embedOptions.icons.bot} Reloaded commands**\n` + commands.join('\n');
const embedDescription = `**${embedOptions.icons.bot} Reloaded commands**\n` + commands.join('\n');
logger.debug('Responding with success embed.');
return await interaction.editReply({