diff --git a/src/commands/score.ts b/src/commands/score.ts index e333ae2..5078b5f 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -167,7 +167,11 @@ export default class Score extends Command { // eslint-disable-next-line no-useless-escape 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`; }); - embed.setDescription(desc); + if (desc.length >= 1900) { + embed.setDescription('__Too many to show, please see https://report.libraryofcode.org__'); + } else { + embed.setDescription(desc); + } } let color = '🔴'; let additionalText = 'POOR';