mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Notify event for photon bots
This commit is contained in:
@@ -8333,6 +8333,14 @@ speechSynthesis.getVoices();
|
|||||||
color: 'yellow',
|
color: 'yellow',
|
||||||
created_at: new Date().toJSON()
|
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);
|
photonBots.unshift(id);
|
||||||
}
|
}
|
||||||
@@ -8906,6 +8914,14 @@ speechSynthesis.getVoices();
|
|||||||
color: 'yellow',
|
color: 'yellow',
|
||||||
created_at: gameLogDate
|
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