formatting fix
parent
b655262a44
commit
a0f6fa91d7
|
@ -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';
|
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) => {
|
score.inquiries.forEach((inq) => {
|
||||||
const testDate = (new Date(new Date(inq.date).setHours(2190)));
|
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);
|
embed.setDescription(desc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue