Added nickname check to pmc response message send, kills profiles when name is null
This commit is contained in:
parent
058ccc2b29
commit
ca8b61a001
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user