diff --git a/src/modules/utility.js b/src/modules/utility.js index 1dda440..d27d6e9 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -798,6 +798,11 @@ presence.callback = async function (msg, line) { "mp:", "https://media.discordapp.net/" ); + } else if (activity.assets.large_image.startsWith("spotify:")) { + largeUrl = activity.assets.large_image.replace( + "spotify:", + "https://i.scdn.co/image/" + ); } else { largeUrl = `https://cdn.discordapp.com/app-assets/${activity.application_id}/${activity.assets.large_image}.png`; }