From 2c4a629d265095157a8c564e28b1ddc0ec9b61a8 Mon Sep 17 00:00:00 2001 From: Quacksire <19170969+quacksire@users.noreply.github.com> Date: Sat, 15 Jan 2022 18:24:42 -0800 Subject: [PATCH] Update discordrpc.js --- src/main/discordrpc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/discordrpc.js b/src/main/discordrpc.js index 26e7aa3e..6e3b414c 100644 --- a/src/main/discordrpc.js +++ b/src/main/discordrpc.js @@ -71,7 +71,7 @@ module.exports = { state: `by ${attributes.artistName}`, startTimestamp: attributes.startTime, endTimestamp: attributes.endTime, - largeImageKey: (attributes.artwork.url.replace('{w}', '1024').replace('{h}', '1024')) ? ? 'cider', + largeImageKey: (attributes.artwork.url.replace('{w}', '1024').replace('{h}', '1024')) ?? 'cider', largeImageText: attributes.albumName, smallImageKey: (attributes.status ? 'play' : 'pause'), smallImageText: (attributes.status ? 'Playing' : 'Paused'), @@ -139,4 +139,4 @@ module.exports = { } }, -} \ No newline at end of file +}