mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +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()
|
const embed = new MessageEmbed()
|
||||||
.setAuthor('ESLint', 'https://i.imgur.com/04GhEhU.png', 'https://eslint.org/')
|
.setAuthor('ESLint', 'https://i.imgur.com/04GhEhU.png', 'https://eslint.org/')
|
||||||
.setColor(0x3A33D1)
|
.setColor(0x3A33D1)
|
||||||
.setTitle(`${rule} (${data.docs.category})`)
|
.setTitle(rule)
|
||||||
.setURL(`https://eslint.org/docs/rules/${rule}`)
|
.setURL(data.docs.url)
|
||||||
.setDescription(data.docs.description);
|
.setDescription(data.docs.description);
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user