1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update playlist.js

This commit is contained in:
MatteZ02 2019-10-13 15:58:46 +03:00
parent 44e05abfe6
commit 3bc49ad955

View File

@ -13,6 +13,7 @@ module.exports = {
}
if (client.global.db.guilds[message.guild.id].premium) {
if (args[1] === 'play') {
if (!voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in a voice channel to play music!');
if (client.global.db.playlists[message.guild.id].saved) {
if (!serverQueue) {
const construct = {