From bd1fbb3bc74628e566d627b1273db8c6a3ddc5f2 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Tue, 28 May 2024 08:42:09 -0400 Subject: [PATCH] Update index.js --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 0e9b1af..7b2643b 100644 --- a/index.js +++ b/index.js @@ -41,10 +41,15 @@ function onUpdate(data) { listening = true content = `Listening to ${presence["details"]} - ${presence["state"]}` } + if(presence["id"] == "spotify:1") { // built in spotify hooluy shit normal presence) + listening = true + 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 listening = false content = `Playing ${presence["name"]}` } + }); document.getElementById("presence").style.display = content == "" ? "none": "flex" document.getElementById("presence-content").innerText = content