diff --git a/project/src/services/PmcChatResponseService.ts b/project/src/services/PmcChatResponseService.ts index e693b38a..c8a94ffb 100644 --- a/project/src/services/PmcChatResponseService.ts +++ b/project/src/services/PmcChatResponseService.ts @@ -49,6 +49,14 @@ export class PmcChatResponseService { continue; } + if (!victim.Name) { + this.logger.warning( + `Victim: ${victim.ProfileId} does not have a nickname, skipping pmc response message send`, + ); + + continue; + } + const victimDetails = this.getVictimDetails(victim); const message = this.chooseMessage(true, pmcData); if (message) {