From cec96bc241bd7d18c8c0353bdc5db8cceb8b187d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 20 Jun 2020 09:28:31 -0400 Subject: [PATCH] Fix --- commands/util-public/credit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/util-public/credit.js b/commands/util-public/credit.js index b298ec5a..282f5942 100644 --- a/commands/util-public/credit.js +++ b/commands/util-public/credit.js @@ -38,7 +38,7 @@ module.exports = class CreditCommand extends Command { .filter(c => c.credit && c.credit.length && c.credit.find(cred => cred.name.toLowerCase().includes(cmd))) .map(com => { const credit = com.credit.find(cred => cred.name.toLowerCase().includes(cmd)); - if (!credit.reasonURL) return `${embedURL(credit.name, credit.url)} (${credit.reason})`; + if (!credit.reasonURL) return `\`${com.name}\`: ${embedURL(credit.name, credit.url)} (${credit.reason})`; return `\`${com.name}\`: ${embedURL(credit.name, credit.url)} (${embedURL(credit.reason, credit.reasonURL)})`; }); if (!commands.length) return msg.say('Could not find any results.');