Update index.js

This commit is contained in:
nin0dev 2024-05-12 10:41:36 -04:00 committed by GitHub
parent 97281b3b8d
commit f05c6af3ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ function onUpdate(data) {
} }
if(presence["application_id"] == "1054951789318909972") { // vendetta lastfm if(presence["application_id"] == "1054951789318909972") { // vendetta lastfm
listening = true listening = true
content = `Listening to ${presence["details"]} - ${presence["state"].replace("by ", "")}` content = `Listening to ${presence["details"]} - ${presence["state"]}`
} }
if(presence["type"] == 0 && presence["application_id"] != "463151177836658699" && presence["application_id"] != "1108588077900898414") { // generic playing status that isn't vencord lastfm or premid if(presence["type"] == 0 && presence["application_id"] != "463151177836658699" && presence["application_id"] != "1108588077900898414") { // generic playing status that isn't vencord lastfm or premid
listening = false listening = false