1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 05:10:17 +00:00

Update playlist.js

This commit is contained in:
MatteZ02 2019-10-13 13:59:41 +03:00
parent ca61906f57
commit 44e05abfe6

View File

@ -41,6 +41,7 @@ module.exports = {
}
} else return message.channel.send(':x: There is no queue set for this server!')
} else if (args[1] === 'save') {
if (!serverQueue) return message.channel.send(':x: There is nothing playing!');
client.global.db.playlists[message.guild.id] = {
songs: serverQueue.songs,
firstSong: serverQueue.songs[0],