Merge branch 'master' of https://github.com/th-ch/youtube-music into discord

This commit is contained in:
Constantin Piber
2021-08-27 16:37:50 +02:00
3 changed files with 5 additions and 2 deletions

View File

@ -101,6 +101,9 @@ module.exports = (win, {activityTimoutEnabled, activityTimoutTime}) => {
songInfo.uploadDate,
songInfo.views.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " views"
].join(' || '),
buttons: [
{ label: "Listen Along", url: songInfo.url },
],
};
if (songInfo.isPaused) {