diff --git a/src/commands/utils/createString/createMissionPrintString.ts b/src/commands/utils/createString/createMissionPrintString.ts index 0396236..28f3d09 100644 --- a/src/commands/utils/createString/createMissionPrintString.ts +++ b/src/commands/utils/createString/createMissionPrintString.ts @@ -2,7 +2,8 @@ import { isDefaultCategory } from "./createMissionString.js" const createMissionPrintString = (mission: Mission, targetId: string) => - `- ${mission.content} [${mission.score}점]\n` + (mission.note !== "" ? `\n - ${mission.note}` : "") + `- ${mission.content} \\[${mission.score}점\\]` + (mission.completed.includes(targetId) ? " (완료)" : "") + + (mission.note !== "" ? `\n - ${mission.note}` : "") export const createMissionMapPrintString = (missionMap: Map, targetId: string) => missionMap.size > 0 ? Array.from(missionMap)