diff --git a/src/commands/score.ts b/src/commands/score.ts index 7cd90aa..df5afa6 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -160,7 +160,8 @@ export default class Score extends Command { let desc = '__**Hard Inquiries**__\n*These inquiries will fall off your report within 3 months, try to keep your hard inquiries to a minimum. If you want to file a dispute, please DM Ramirez.*\n\n'; score.inquiries.forEach((inq) => { const testDate = (new Date(new Date(inq.date).setHours(2190))); - if (testDate > new Date()) desc += `**Department/Service:** ${inq.name}\n**Reason:** ${inq.reason}\n**Date:** ${inq.date.toLocaleString('en-us')} ET\n\n`; + // eslint-disable-next-line no-useless-escape + if (testDate > new Date()) desc += `**Department/Service:** ${inq.name}\n**Reason:** ${inq.reason}\n**Date:** ${inq.date.toLocaleString('en-us')} ET\n\n`.replace('*', '\*'); }); embed.setDescription(desc); }