chore: Prettified Code
[ci skip]
This commit is contained in:
parent
9cb864b971
commit
ab6abd2b62
1 changed files with 2 additions and 2 deletions
|
@ -238,8 +238,8 @@ 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 },
|
||||||
... showSongLink ? [{label: "Song.link", url: 'https://song.link/i/' + attributes.songId}] : []
|
...(showSongLink ? [{ 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
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the timestamp if its playing and people want them
|
// Add the timestamp if its playing and people want them
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue