Fix lint-rule category

This commit is contained in:
Dragon Fire
2024-03-21 20:27:09 -04:00
parent f338d2112a
commit d62f2bffcb
+2 -2
View File
@@ -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);
}