1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 00:23:17 +00:00

Update playlist.js

This commit is contained in:
MatteZ02 2019-10-13 16:01:46 +03:00
parent 3bc49ad955
commit 55c3ff293b

View File

@ -13,6 +13,7 @@ module.exports = {
}
if (client.global.db.guilds[message.guild.id].premium) {
if (args[1] === 'play') {
const voiceChannel = message.member.voiceChannel;
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) {