diff --git a/websites/P/PlanetXO/metadata.json b/websites/P/PlanetXO/metadata.json index 1af157899e41..35c3a378c29a 100644 --- a/websites/P/PlanetXO/metadata.json +++ b/websites/P/PlanetXO/metadata.json @@ -15,7 +15,7 @@ "api.planetxo.uk", "staff.planetxo.uk" ], - "version": "1.0.4", + "version": "1.0.5", "logo": "https://cdn.rcd.gg/PreMiD/websites/P/PlanetXO/assets/logo.png", "thumbnail": "https://cdn.rcd.gg/PreMiD/websites/P/PlanetXO/assets/thumbnail.jpg", "color": "#8c52ff", @@ -37,4 +37,4 @@ "regulated", "kaneproductions" ] -} \ No newline at end of file +} diff --git a/websites/P/PlanetXO/presence.ts b/websites/P/PlanetXO/presence.ts index 4671999ae7e6..2a656c9674c1 100644 --- a/websites/P/PlanetXO/presence.ts +++ b/websites/P/PlanetXO/presence.ts @@ -75,6 +75,16 @@ presence.on("UpdateData", async () => { ]; break; } + case "https://planetxo.uk/player": { + presenceData.details = "Viewing Player"; + presenceData.buttons = [ + { + label: "Listen Along!", + url: "https://planetxo.uk/player", + }, + ]; + break; + } case "https://planetxo.uk/panel": { presenceData.details = "Viewing PlanetXO Panel"; presenceData.buttons = [