Update discordrpc.ts (Core's solution)
This commit is contained in:
parent
499dc6af15
commit
f767fc72a9
1 changed files with 1 additions and 2 deletions
|
@ -102,7 +102,6 @@ export default class DiscordRichPresence {
|
|||
return;
|
||||
}
|
||||
const listenURL = `https://cider.sh/p?s&id=${attributes.playParams.id}` // cider://play/s/[id] (for song)
|
||||
|
||||
this._activity = {
|
||||
details: attributes.name,
|
||||
state: `${attributes.artistName ? `by ${attributes.artistName}` : ''}`,
|
||||
|
@ -114,7 +113,7 @@ export default class DiscordRichPresence {
|
|||
|
||||
buttons: [
|
||||
{label: "Listen on Cider", url: listenURL},
|
||||
{label: "Open In Apple Music", url: data.attributes.url},
|
||||
{label: "Open In Apple Music", url: attributes.songURL},
|
||||
]
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue