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:
parent
ca61906f57
commit
44e05abfe6
@ -41,6 +41,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
} else return message.channel.send(':x: There is no queue set for this server!')
|
} else return message.channel.send(':x: There is no queue set for this server!')
|
||||||
} else if (args[1] === 'save') {
|
} else if (args[1] === 'save') {
|
||||||
|
if (!serverQueue) return message.channel.send(':x: There is nothing playing!');
|
||||||
client.global.db.playlists[message.guild.id] = {
|
client.global.db.playlists[message.guild.id] = {
|
||||||
songs: serverQueue.songs,
|
songs: serverQueue.songs,
|
||||||
firstSong: serverQueue.songs[0],
|
firstSong: serverQueue.songs[0],
|
||||||
|
Loading…
Reference in New Issue
Block a user