Skip to content

Commit fe0f213

Browse files
authored
Merge pull request #383 from konhi/discord
Add "Listen Along" button, solve #353
2 parents d089487 + 7fa1278 commit fe0f213

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/discord/back.js

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ module.exports = (win, {activityTimoutEnabled, activityTimoutTime}) => {
2929
songInfo.uploadDate,
3030
songInfo.views.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " views"
3131
].join(' || '),
32+
buttons: [
33+
{ label: "Listen Along", url: songInfo.url },
34+
]
3235
};
3336

3437
if (songInfo.isPaused) {

0 commit comments

Comments
 (0)