mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix lint-rule category
This commit is contained in:
@@ -30,8 +30,8 @@ module.exports = class LintRuleCommand extends Command {
|
||||
const embed = new MessageEmbed()
|
||||
.setAuthor('ESLint', 'https://i.imgur.com/04GhEhU.png', 'https://eslint.org/')
|
||||
.setColor(0x3A33D1)
|
||||
.setTitle(`${rule} (${data.docs.category})`)
|
||||
.setURL(`https://eslint.org/docs/rules/${rule}`)
|
||||
.setTitle(rule)
|
||||
.setURL(data.docs.url)
|
||||
.setDescription(data.docs.description);
|
||||
return msg.embed(embed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user