pull/29/head
Matthew 2020-10-31 02:54:59 -04:00
parent 726d253c74
commit ad089f28ba
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ export default class Score extends Command {
if (testDate > new Date()) desc += `${inq.id ? `__[${inq.id}]__\n` : ''}**Department/Service:** ${inq.name.replace(/\*/gmi, '')}\n**Reason:** ${inq.reason}\n**Date:** ${inq.date.toLocaleString('en-us')} ET\n**Expires:** ${moment(testDate).calendar()}\n\n`; if (testDate > new Date()) desc += `${inq.id ? `__[${inq.id}]__\n` : ''}**Department/Service:** ${inq.name.replace(/\*/gmi, '')}\n**Reason:** ${inq.reason}\n**Date:** ${inq.date.toLocaleString('en-us')} ET\n**Expires:** ${moment(testDate).calendar()}\n\n`;
}); });
if (desc.length >= 1900) { if (desc.length >= 1900) {
embed.setDescription('__Too many to show, please see https://report.libraryofcode.org__'); embed.setDescription('__***Too many Hard Inquiries to show, please see https://report.libraryofcode.org***__');
} else { } else {
embed.setDescription(desc); embed.setDescription(desc);
} }