diff --git a/index.js b/index.js index f88f779..a08e427 100644 --- a/index.js +++ b/index.js @@ -37,6 +37,10 @@ function onUpdate(data) { listening = true content = `Listening to ${presence["details"]} - ${presence["state"]}` } + if(presence["application_id"] == "1054951789318909972") { // vendetta lastfm + listening = true + content = `Listening to ${presence["details"]} - ${presence["state"].replace("by ", "")}` + } if(presence["type"] == 0 && presence["application_id"] != "463151177836658699" && presence["application_id"] != "1108588077900898414") { // generic playing status that isn't vencord lastfm or premid listening = false content = `Playing ${presence["name"]}` @@ -53,4 +57,4 @@ LanyardWrapper.connectWebSocket("886685857560539176", onUpdate) function showCredits() { document.getElementById("credits").style.display = "block" document.getElementById("credits-button").style.display = "none" -} \ No newline at end of file +}