Skip to content

Commit 12c3406

Browse files
committed
fix(player): "Now Playing" notification could be sent multiple times in some cases
1 parent b372cc5 commit 12c3406

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

player/playSong.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ module.exports = async (client, queue, song) => {
2727
// Send advanced notification if queue is not already playing before
2828
if (!playing && (!song.playlist || song == song.playlist.songs[0]))
2929
client.sendAdvancedNotification(destination, `${lang.MESSAGE_NOW_PLAYING}`, `${song.name}`, song.thumbnail, { editReply: true });
30+
song.metadata.playing = true;
3031
}

0 commit comments

Comments
 (0)