diff --git a/backend/src/plugins/Cases/functions/getCaseSummary.ts b/backend/src/plugins/Cases/functions/getCaseSummary.ts index 2a1dade9..a45c0087 100644 --- a/backend/src/plugins/Cases/functions/getCaseSummary.ts +++ b/backend/src/plugins/Cases/functions/getCaseSummary.ts @@ -8,7 +8,7 @@ import { caseAbbreviations } from "../caseAbbreviations"; import { CasesPluginType } from "../types"; import { getCaseIcon } from "./getCaseIcon"; -const CASE_SUMMARY_REASON_MAX_LENGTH = 600; +const CASE_SUMMARY_REASON_MAX_LENGTH = 500; const INCLUDE_MORE_NOTES_THRESHOLD = 20; const UPDATE_STR = "\n**[Update]**"; @@ -67,7 +67,7 @@ export async function getCaseSummary( let caseType = (caseAbbreviations[theCase.type] || String(theCase.type)).toUpperCase(); caseType = (caseType + " ").slice(0, 4); - let line = `${icon} **\`${caseType}\`** \`[${prettyTimestamp}]\` ${caseTitle} **Moderator:** ${theCase.mod_name}\n${reason}`; + let line = `${icon} **\`${caseType}\`** \`[${prettyTimestamp}]\` ${caseTitle} **Mod:** ${theCase.mod_name}\n${reason}`; if (leftoverNotes > 1) { line += ` *(+${leftoverNotes} ${leftoverNotes === 1 ? "note" : "notes"})*`; }