fix
parent
a0f6fa91d7
commit
2c7434fdbd
|
@ -161,7 +161,7 @@ export default class Score extends Command {
|
|||
score.inquiries.forEach((inq) => {
|
||||
const testDate = (new Date(new Date(inq.date).setHours(2190)));
|
||||
// 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('*', '\*');
|
||||
if (testDate > new Date()) desc += `**Department/Service:** ${inq.name}\n**Reason:** ${inq.reason}\n**Date:** ${inq.date.toLocaleString('en-us')} ET\n\n`.replace('\\*\g', '\*');
|
||||
});
|
||||
embed.setDescription(desc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue