pull/29/head
Matthew 2020-10-11 13:34:06 -04:00
parent 346caa591c
commit fe27915a49
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ export default class Score extends Command {
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)));
// eslint-disable-next-line no-useless-escape // 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('/\*/g', '\*'); if (testDate > new Date()) desc += `**Department/Service:** ${inq.name}\n**Reason:** ${inq.reason}\n**Date:** ${inq.date.toLocaleString('en-us')} ET\n\n`.replace(/.*/gmi, '\*');
}); });
embed.setDescription(desc); embed.setDescription(desc);
} }