1
0
Fork 0
forked from nin0/website
This commit is contained in:
nin0dev 2024-06-02 06:50:59 -04:00 committed by GitHub
parent 56eb9e3f0d
commit ef815cc443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ function onUpdate(data) {
});
document.getElementById("presence").style.display = content == "" ? "none": "flex"
document.getElementById("presence-content").innerText = content
document.getElementById("presence-icon").src = listening ? "music.png" : "game.png"
document.getElementById("presence-icon").src = listening ? "music.ico" : "game.ico"
}
LanyardWrapper.connectWebSocket("886685857560539176", onUpdate)
.catch(err => {