mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Notify event for photon bots
This commit is contained in:
@@ -8333,6 +8333,14 @@ speechSynthesis.getVoices();
|
||||
color: 'yellow',
|
||||
created_at: new Date().toJSON()
|
||||
});
|
||||
var entry = {
|
||||
created_at: new Date().toJSON(),
|
||||
type: 'Event',
|
||||
data: `${text} - ${this.getDisplayNameFromPhotonId(photonId)} (${this.getUserIdFromPhotonId(photonId)})`
|
||||
};
|
||||
this.queueGameLogNoty(entry);
|
||||
this.addGameLog(entry);
|
||||
database.addGamelogEventToDatabase(entry);
|
||||
}
|
||||
photonBots.unshift(id);
|
||||
}
|
||||
@@ -8906,6 +8914,14 @@ speechSynthesis.getVoices();
|
||||
color: 'yellow',
|
||||
created_at: gameLogDate
|
||||
});
|
||||
var entry = {
|
||||
created_at: new Date().toJSON(),
|
||||
type: 'Event',
|
||||
data: `${text} - ${this.getDisplayNameFromPhotonId(photonId)} (${this.getUserIdFromPhotonId(photonId)})`
|
||||
};
|
||||
this.queueGameLogNoty(entry);
|
||||
this.addGameLog(entry);
|
||||
database.addGamelogEventToDatabase(entry);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user