feat: shows artists names in status on discord presence

This commit is contained in:
andleo17
2025-10-17 21:22:23 -05:00
parent c89fe5e573
commit df3e41023a

View File

@@ -85,6 +85,7 @@ const getActivity = (): SetActivity => {
const artists = pad(mediaInfo.artists); const artists = pad(mediaInfo.artists);
if (mediaInfo.url) { if (mediaInfo.url) {
presence.statusDisplayType = 1;
presence.details = `${detailsPrefix}${title}`; presence.details = `${detailsPrefix}${title}`;
presence.state = artists ? artists : "unknown artist(s)"; presence.state = artists ? artists : "unknown artist(s)";
presence.largeImageKey = mediaInfo.image; presence.largeImageKey = mediaInfo.image;