mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-11-05 19:25:36 +01:00
feat: shows artists names in status on discord presence
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user