mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +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}`;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user