Add song.link

This commit is contained in:
Charles Surett 2022-09-15 01:01:01 -04:00 committed by GitHub
parent 57edd48b1f
commit 6f51759b40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,6 +237,7 @@ export default class DiscordRPC {
activity.buttons = [ activity.buttons = [
{ label: "Listen on Cider", url: attributes.url.cider }, { label: "Listen on Cider", url: attributes.url.cider },
{ label: "View on Apple Music", url: attributes.url.appleMusic }, { label: "View on Apple Music", url: attributes.url.appleMusic },
{ label: "Song.link", url: 'https://song.link/i/' + attributes.songId }
]; //To change attributes.url => preload/cider-preload.js ]; //To change attributes.url => preload/cider-preload.js
} }