From d62f2bffcbec453d9fe3a031cd26529913d9afb0 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 21 Mar 2024 20:27:09 -0400 Subject: [PATCH] Fix lint-rule category --- commands/code/lint-rule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/code/lint-rule.js b/commands/code/lint-rule.js index d2977341..9335dfdf 100644 --- a/commands/code/lint-rule.js +++ b/commands/code/lint-rule.js @@ -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); }