mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
PyPyDance Discord RPC 2
This commit is contained in:
+8
-6
@@ -7441,7 +7441,7 @@ speechSynthesis.getVoices();
|
|||||||
var videoName = '';
|
var videoName = '';
|
||||||
var videoLength = '';
|
var videoLength = '';
|
||||||
var displayName = '';
|
var displayName = '';
|
||||||
var videoPos = 5; // video loading delay
|
var videoPos = 10; // video loading delay
|
||||||
if (typeof gameLog.displayName !== 'undefined') {
|
if (typeof gameLog.displayName !== 'undefined') {
|
||||||
displayName = gameLog.displayName;
|
displayName = gameLog.displayName;
|
||||||
}
|
}
|
||||||
@@ -7796,11 +7796,13 @@ speechSynthesis.getVoices();
|
|||||||
appId = '846232616054030376';
|
appId = '846232616054030376';
|
||||||
bigIcon = 'vr_dancing';
|
bigIcon = 'vr_dancing';
|
||||||
}
|
}
|
||||||
L.worldName = this.nowPlaying.name;
|
if (this.nowPlaying.playing) {
|
||||||
Discord.SetTimestamps(
|
L.worldName = this.nowPlaying.name;
|
||||||
Date.now(),
|
Discord.SetTimestamps(
|
||||||
(this.nowPlaying.startTime + this.nowPlaying.length) * 1000
|
Date.now(),
|
||||||
);
|
(this.nowPlaying.startTime + this.nowPlaying.length) * 1000
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Discord.SetAssets(
|
Discord.SetAssets(
|
||||||
bigIcon, // big icon
|
bigIcon, // big icon
|
||||||
|
|||||||
Reference in New Issue
Block a user