Version 1.0.0b - Final Version

This commit is contained in:
CICD - Pipeline 2023-09-15 23:06:30 +02:00
parent bcb3f6e298
commit c5a24bd596

View File

@ -211,6 +211,8 @@ module.exports.List = class {
this.remove(next[0]) this.remove(next[0])
} }
process.emit("MUSIC_UPDATE_STATE")
} }
async playlistAdd(playlist, interaction, userId, ) { async playlistAdd(playlist, interaction, userId, ) {
@ -291,7 +293,7 @@ module.exports.List = class {
const song_finded = await client.manager.search(song.uri) const song_finded = await client.manager.search(song.uri)
next.push(song_finded.tracks[0]) next.push(song_finded.tracks[0])
process.emit("MUSIC_UPDATE_STATE")
} }
if(!player.playing) { if(!player.playing) {